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

Performance with nested panes

Open wuweiweiwu opened this issue 5 years ago • 1 comments

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

wuweiweiwu avatar Jan 10 '20 21:01 wuweiweiwu

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

spectras avatar May 14 '20 13:05 spectras