(e)
| 248 | } |
| 249 | |
| 250 | handleEscape(e) { |
| 251 | if (this.props.isOpen && e.keyCode === keyCodes.esc && this.props.toggle) { |
| 252 | if (this.props.keyboard) { |
| 253 | e.preventDefault(); |
| 254 | e.stopPropagation(); |
| 255 | |
| 256 | this.props.toggle(e); |
| 257 | } else if (this.props.backdrop === 'static') { |
| 258 | e.preventDefault(); |
| 259 | e.stopPropagation(); |
| 260 | |
| 261 | this.handleStaticBackdropAnimation(); |
| 262 | } |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | handleStaticBackdropAnimation() { |
| 267 | this.clearBackdropAnimationTimeout(); |
nothing calls this directly
no test coverage detected
searching dependent graphs…