Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tab drop behavior to select dropped tab #14787

Merged
merged 2 commits into from
Feb 7, 2023

Conversation

marcelwgn
Copy link
Contributor

@marcelwgn marcelwgn commented Feb 4, 2023

Dragging and dropping tabs now selects them

Closes #12473

Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

easy-button.wav

@carlos-zamora carlos-zamora added the AutoMerge Marked for automatic merge by the bot when requirements are met label Feb 7, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Priority-2 A description (P2) Product-Terminal The new Windows Terminal. labels Feb 7, 2023
Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Looking at how Edge/Chrome/Firefox handle this, the tab is selected immediately on [Mouse Down Inside] whereas in XAML TabView it's selected on [Mouse Up]. That's the real culprit here...

I'm not averse to making this work the way it should, but it does suggest that we should also file a bug upstream. 😄

@DHowett DHowett merged commit 143127d into microsoft:main Feb 7, 2023
@morganwdavis
Copy link

Thank you for implementing this change, @chingucoding !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-UserInterface Issues pertaining to the user interface of the Console or Terminal AutoMerge Marked for automatic merge by the bot when requirements are met Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-2 A description (P2) Product-Terminal The new Windows Terminal.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dragging a non-focused tab should make it the active tab
6 participants