posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.82k stars 90 forks source link

Fix vertical splitter in variables pane #5391

Open dhruvisompura opened 6 days ago

dhruvisompura commented 6 days ago

Description

Addresses #4720

Fixes a bug where users were unable to smoothly resize the columns in the variables pane. This PR changes how the vertical splitter handles the events used to resize columns. The vertical splitter component would re-render itself upon a resize which would cause relevant state information to be reset. We now directly interact with the DOM element to avoid this issue.

QA Notes

Screenshots

https://github.com/user-attachments/assets/98e7b29f-0465-40ec-a3b4-031853e38688