Skip to content

Conversation

rschristian
Copy link
Member

Revert of #1149 (sort of)

At the time that change was fine (I think), but since then, the splitter will rerender when the user interacts with the code editor and so this callback ref is very bad. Splitter won't remain set after any interactions.

Only difference to pre-1149 is the use of useLayoutEffect. I couldn't spot any pop in today, which is what that change was made to correct, but figure a layout effect should fix that just as well if it still exists and won't be problematic here.

@rschristian rschristian merged commit 19ad7a9 into master Aug 12, 2025
5 checks passed
@rschristian rschristian deleted the fix/repl-splitter branch August 12, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants