You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a temporary workaround, I found that adding the key prop to the Split component and setting it to the length of the children forces it to re-render when you add/remove elements. (You could use basically any other prop, key just seems most suitable for me)
So the code sandbox example you linked can be fixed by adding:
Here's a code sandbox reproducing the bug.
Notice that when you click "add pane", there is no gutter separating the newly added pane from the other children.
Do you know what causes this issue, and is there a temporary workaround?
Thanks for the awesome library!
The text was updated successfully, but these errors were encountered: