(node)
| 277 | } |
| 278 | |
| 279 | onClosed(node) { |
| 280 | const { unmountOnClose } = this.props; |
| 281 | // so all methods get called before it is unmounted |
| 282 | this.props.onClosed(); |
| 283 | (this.props.modalTransition.onExited || noop)(node); |
| 284 | |
| 285 | if (unmountOnClose) { |
| 286 | this.destroy(); |
| 287 | } |
| 288 | this.close(); |
| 289 | |
| 290 | if (this._isMounted) { |
| 291 | this.setState({ isOpen: false }); |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | setFocus() { |
| 296 | if ( |
nothing calls this directly
no test coverage detected
searching dependent graphs…