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

[Flare] Do not block mouse presses on scroll #16033

Merged
merged 2 commits into from Jul 2, 2019

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Jul 2, 2019

This PR changes the existing behaviour in Press so that mouse pointer events no longer get cancelled when a scroll event occurs. This matches the expected behaviour on platforms that use mouse interactions. Unlike touch, which is expected to have a connection with scroll, mouse events are detached from scrolling (aside from mousewheel).

@sizebot
Copy link

sizebot commented Jul 2, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS

Copy link
Contributor

@necolas necolas left a comment

Choose a reason for hiding this comment

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

Lgtm! Typo in a comment "incoing"

@trueadm trueadm merged commit 6cf2234 into facebook:master Jul 2, 2019
@trueadm trueadm deleted the mouse-pointer-scroll branch July 2, 2019 15:58
trueadm added a commit to trueadm/react that referenced this pull request Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants