(props)
| 83 | |
| 84 | class Offcanvas extends React.Component { |
| 85 | constructor(props) { |
| 86 | super(props); |
| 87 | |
| 88 | this._element = null; |
| 89 | this._originalBodyPadding = null; |
| 90 | this.getFocusableChildren = this.getFocusableChildren.bind(this); |
| 91 | this.handleBackdropClick = this.handleBackdropClick.bind(this); |
| 92 | this.handleBackdropMouseDown = this.handleBackdropMouseDown.bind(this); |
| 93 | this.handleEscape = this.handleEscape.bind(this); |
| 94 | this.handleTab = this.handleTab.bind(this); |
| 95 | this.onOpened = this.onOpened.bind(this); |
| 96 | this.onClosed = this.onClosed.bind(this); |
| 97 | this.manageFocusAfterClose = this.manageFocusAfterClose.bind(this); |
| 98 | this.clearBackdropAnimationTimeout = |
| 99 | this.clearBackdropAnimationTimeout.bind(this); |
| 100 | this.trapFocus = this.trapFocus.bind(this); |
| 101 | this._backdrop = React.createRef(); |
| 102 | this._dialog = React.createRef(); |
| 103 | |
| 104 | this.state = { |
| 105 | isOpen: false, |
| 106 | }; |
| 107 | } |
| 108 | |
| 109 | componentDidMount() { |
| 110 | const { isOpen, autoFocus, onEnter } = this.props; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…