Skip to content

Fix tab bar drag-drop issues in between panes#2266

Merged
abose merged 6 commits intomainfrom
pluto/tb
May 30, 2025
Merged

Fix tab bar drag-drop issues in between panes#2266
abose merged 6 commits intomainfrom
pluto/tb

Conversation

@devvaannsh
Copy link
Member

@devvaannsh devvaannsh commented May 22, 2025

This PR does the following changes:
1st Commit:- Earlier it was not possible to drop a dragged tab over the editor area. This commit fixes that issue. Now users can drag a tab from one pane and drop it in the editor area of the other pane and the tab successfully gets placed.

2nd Commit:- When a tab was dragged from one pane to the other pane, the dragged tab now becomes active. Earlier it was not possible.

3rd Commit:- Earlier, after dragging dropping tabs, sometimes tab bar becomes unresponsive. this was because _registerHandlers was not attaching all the events properly. fixed that.

4th commit:- Just updated the pane border styling.

5th commit:- Sometimes when a tab was dragged from one pane to other pane, then a placeholder(temporary tab) used to appear on the first pane from where tab was dragged. Fixed that. This issue mainly appeared because when dragging a click event also gets fired because of which a placeholder tab was added.

6th commit:- just some styling changes and made the dirty icon, file directory name, and close icon all aligned

@sonarqubecloud
Copy link

@abose
Copy link
Member

abose commented May 30, 2025

LGTM . Merging.
Thanks for contributing @devvaannsh

@abose abose merged commit 34a3031 into main May 30, 2025
17 of 21 checks passed
@abose abose deleted the pluto/tb branch May 30, 2025 15:32
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