Skip to content

Tab bar fixes#2383

Merged
abose merged 8 commits intomainfrom
tb-fixes
Sep 6, 2025
Merged

Tab bar fixes#2383
abose merged 8 commits intomainfrom
tb-fixes

Conversation

@devvaannsh
Copy link
Member

@devvaannsh devvaannsh commented Sep 4, 2025

This PR fixes tab bar issues.

1st commit: sometimes when right-clicking on tabs used to open the editor's context menu instead of the tab bar context menu. Fixed it.

2nd commit: Rewrote drag-drop for tab bar, as earlier drag-drop had some issues like drop indicator not appearing at expected places, etc

3rd commit: fix small typo in comment

4th commit: This was a very important fix. The issue was that when the overflow button was clicked, the dropdown appeared. However, clicking it again (while it was still visible) did not close it as expected. Fixed it!

5th commit: Sometimes when (ANY) dropdown was open and a tab was clicked the tab didn't become active, found that mousedown event was not getting triggered. so moved the whole logic to click. now things work fine.

6th commit: test failed as replaced mousedown with click. fixed the test.

7th commit: add missing localization for overflow button tooltip

8th commit: when clicking tabs in inactive panes, the click handler wasn't running because activePaneChange immediately rebuilt the DOM, because of which the click handler was destroyed and the right tab was not becoming active. fixed it

@devvaannsh devvaannsh changed the title This PR fixes tab bar issues Tab bar fixes Sep 4, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 4, 2025

@abose abose merged commit adcd70a into main Sep 6, 2025
17 of 18 checks passed
@abose abose deleted the tb-fixes branch September 6, 2025 09:40
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

Comments