Skip to content

fix(scrollviewer): raise PointerEnter/Exit when scrolling causes the pointer to be over a new item - #13094

Merged
dr1rrb merged 7 commits into
unoplatform:masterfrom
ramezgerges:scroll_hover
Aug 11, 2023
Merged

dr1rrb merged 7 commits into
unoplatform:masterfrom
ramezgerges:scroll_hover

Conversation

@ramezgerges

@ramezgerges ramezgerges commented Aug 3, 2023 •

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): closes #8938

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

What is the new behavior?

Copilot Summary

🤖 Generated by Copilot at 2fd9da2

Enhance pointer events handling in Uno by improving the hit testing logic for wheel events. Use a staleBranch parameter in HitTest to track and update the pointer over state of UI elements.

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@Youssef1313
Youssef1313 requested a review from dr1rrb August 3, 2023 12:16
@MartinZikmund

Copy link
Copy Markdown
Member

This seems ok to me, but let's let @dr1rrb chime in

@dr1rrb dr1rrb left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sounds good for me too, however I think that we can unit test this change. You can take example on what I did for the move : https://github.com/unoplatform/uno/pull/11966/files#diff-6f227a6e07013237a705713a296838b71fcb5f73cabc7f2ee7a67ec648d9ae99R24

@ramezgerges
ramezgerges requested a review from dr1rrb August 11, 2023 10:03
@dr1rrb
dr1rrb enabled auto-merge August 11, 2023 14:23
@MartinZikmund

Copy link
Copy Markdown
Member

@Mergifyio backport legacy/4x

@mergify

mergify Bot commented Aug 11, 2023 •

Copy link
Copy Markdown
Contributor

backport legacy/4x

✅ Backports have been created

Details

@dr1rrb
dr1rrb merged commit e5b91a5 into unoplatform:master Aug 11, 2023
@ramezgerges
ramezgerges deleted the scroll_hover branch August 12, 2023 08:24
jeromelaban added a commit that referenced this pull request Aug 17, 2023
fix(scrollviewer): raise PointerEnter/Exit when scrolling causes the pointer to be over a new item (backport #13094)
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.

[Skia] ListView pointer hover and scrolling with mouse wheel

3 participants