parent
6c9b4fec24
commit
e20aec75b0
|
@ -87,8 +87,12 @@ export default class Splitter extends Component<SplitterProps, SplitterState> {
|
||||||
|
|
||||||
const node = ReactDOM.findDOMNode(this)
|
const node = ReactDOM.findDOMNode(this)
|
||||||
|
|
||||||
node.previousElementSibling.style.flex = ''
|
if (node.previousElementSibling){
|
||||||
node.nextElementSibling.style.flex = ''
|
node.previousElementSibling.style.flex = ''
|
||||||
|
}
|
||||||
|
if (node.nextElementSibling) {
|
||||||
|
node.nextElementSibling.style.flex = ''
|
||||||
|
}
|
||||||
|
|
||||||
if (!willUnmount) {
|
if (!willUnmount) {
|
||||||
this.setState({ applied: false })
|
this.setState({ applied: false })
|
||||||
|
|
Loading…
Reference in New Issue