(props)
| 112 | |
| 113 | class Modal extends React.Component { |
| 114 | constructor(props) { |
| 115 | super(props); |
| 116 | |
| 117 | this._element = null; |
| 118 | this._originalBodyPadding = null; |
| 119 | this.getFocusableChildren = this.getFocusableChildren.bind(this); |
| 120 | this.handleBackdropClick = this.handleBackdropClick.bind(this); |
| 121 | this.handleBackdropMouseDown = this.handleBackdropMouseDown.bind(this); |
| 122 | this.handleEscape = this.handleEscape.bind(this); |
| 123 | this.handleStaticBackdropAnimation = |
| 124 | this.handleStaticBackdropAnimation.bind(this); |
| 125 | this.handleTab = this.handleTab.bind(this); |
| 126 | this.onOpened = this.onOpened.bind(this); |
| 127 | this.onClosed = this.onClosed.bind(this); |
| 128 | this.manageFocusAfterClose = this.manageFocusAfterClose.bind(this); |
| 129 | this.clearBackdropAnimationTimeout = |
| 130 | this.clearBackdropAnimationTimeout.bind(this); |
| 131 | this.trapFocus = this.trapFocus.bind(this); |
| 132 | |
| 133 | this.state = { |
| 134 | isOpen: false, |
| 135 | showStaticBackdropAnimation: false, |
| 136 | }; |
| 137 | } |
| 138 | |
| 139 | componentDidMount() { |
| 140 | const { isOpen, autoFocus, onEnter } = this.props; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…