(e)
| 165 | |
| 166 | // not mouseUp because scrollbar fires it, shouldn't close when user scrolls |
| 167 | handleBackdropClick(e) { |
| 168 | if (e.target === this._mouseDownElement) { |
| 169 | e.stopPropagation(); |
| 170 | const backdrop = this._backdrop.current; |
| 171 | |
| 172 | if (!this.props.isOpen || this.props.backdrop !== true) return; |
| 173 | |
| 174 | if (backdrop && e.target === backdrop && this.props.toggle) { |
| 175 | this.props.toggle(e); |
| 176 | } |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | handleTab(e) { |
| 181 | if (e.which !== 9) return; |
nothing calls this directly
no test coverage detected
searching dependent graphs…