react-sortable-pane icon indicating copy to clipboard operation
react-sortable-pane copied to clipboard

changing size breaks order

Open farfromrefug opened this issue 9 years ago • 3 comments

If you change the size of any child then sizePropsUpdated is set to true, then setSize is called, which ignore the order from props

farfromrefug avatar Jan 03 '17 11:01 farfromrefug

Actually is quite worse. When you set the order through props, and the order is not 'default', then most things don't work (resize, ... ) I think this is because the order (thus this.state.panes) is not used in render.

farfromrefug avatar Jan 03 '17 11:01 farfromrefug

@farfromrefug thanks for your report!! I will investigate. May I have your time, please.

bokuweb avatar Jan 03 '17 12:01 bokuweb

Has this been fixed? I'm working with the controlled example and the resizing isn't working and once I try resizing, then changing the order doesn't work either.

muellerluke avatar Sep 23 '22 15:09 muellerluke