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

Components do not lose hover state if pointer leaves window before it leaves the component #14375

Merged
merged 4 commits into from
Mar 6, 2025

Conversation

acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Feb 26, 2025

Description

Currently if a component has a hover state and is at or near the edge of the window, then when the pointer moves out of the window the component may get stuck in the hover state.

The fix is to listen to the ContentIsland's PointerExited event, and properly notify any hovered components that they are no longer hovered.

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner February 26, 2025 23:40
@acoates-ms acoates-ms merged commit 4640656 into microsoft:main Mar 6, 2025
62 checks passed
@acoates-ms acoates-ms deleted the pointerexit branch March 6, 2025 23:38
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.

4 participants