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

Send mouseUp events for NSTabView #2112

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

eablokker
Copy link

Summary:

Fix for issue #2111 (NSTabView doesn't send mouseUp event because it doesn't inherit from NSControl).

NSTabView inherits from NSView, not NSControl, so its click events aren't recorded in the _nativeTouches cache leading to mouseUp and mouseDown not firing consistently when clicking on the tab buttons.

Test Plan:

Code for custom TabView component provided in the linked issue.

@Saadnajmi
Copy link
Collaborator

/azp run

@Saadnajmi Saadnajmi enabled auto-merge April 23, 2024 05:19
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

auto-merge was automatically disabled April 23, 2024 05:19

Base branch requires signed commits

@Saadnajmi Saadnajmi enabled auto-merge April 23, 2024 05:31
@Saadnajmi Saadnajmi merged commit 423fb52 into microsoft:main Apr 23, 2024
15 checks passed
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