mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-01-31 03:36:44 +03:00
fix(devui): only disable resize events if collapsible (#549)
This commit is contained in:
parent
ca4101b942
commit
eb4bcc82d7
|
@ -69,7 +69,9 @@ export default class TabsHeader extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
this.disableResizeEvents();
|
if (this.props.collapsible) {
|
||||||
|
this.disableResizeEvents();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enableResizeEvents() {
|
enableResizeEvents() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user