Fix tooltip jumping behavior when closing FTB
Summary
When closing the File Tree Browser (FTB), tooltips exhibit unexpected behavior by jumping to the top of the screen before disappearing, creating a jarring user experience.
Steps to reproduce
- Navigate to any repository page with the
repositoryFileTreeBrowserfeature flag enabled - Open the File Tree Browser
- Hover over an element with a tooltip within the FTB
- Close the File Tree Browser while the tooltip is visible
- Observe the tooltip behavior
Related issues/MRs
Edited by Alyssa Trinh