react-split-pane
react-split-pane copied to clipboard
Performance with nested panes
Describe the bug
Nested panes result in big performance hits. Mentioned here https://github.com/storybookjs/storybook/commit/77101365ae672ae515dc10e5116f018121b22af2#diff-7e3255d9223f6e41b28eeb7f22fea5af
To Reproduce
Steps to reproduce the behavior:
create nested split panes and you will see that there is significant lag when dragging inner ones
Expected behavior
almost 60fps
Screenshots
NA
Additional context
NA
Might be related: I noticed that in some circumstances, while using two levels of nested panes that the content of the inner panes is always re-rendered, at every refresh.
Cannot reproduce everytime though :s