(node)
| 225 | } |
| 226 | |
| 227 | onClosed(node) { |
| 228 | const { unmountOnClose } = this.props; |
| 229 | // so all methods get called before it is unmounted |
| 230 | this.props.onClosed(); |
| 231 | (this.props.offcanvasTransition.onExited || noop)(node); |
| 232 | |
| 233 | if (unmountOnClose) { |
| 234 | this.destroy(); |
| 235 | } |
| 236 | this.close(); |
| 237 | |
| 238 | if (this._isMounted) { |
| 239 | this.setState({ isOpen: false }); |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | setFocus() { |
| 244 | if ( |
nothing calls this directly
no test coverage detected
searching dependent graphs…