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] Account for fixed elements in getAbsoluteBoundingClientRect #15707

Merged
merged 3 commits into from
May 22, 2019

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented May 22, 2019

This alter's the Press event responder so it can properly account for fixed elements that have scrollable regions. I've added inline comments explaining the logic and also tested this internally and it fixes a bunch of bugs.

packages/react-events/src/Press.js Show resolved Hide resolved
@trueadm trueadm merged commit b5dff62 into facebook:master May 22, 2019
@trueadm trueadm deleted the handle-responder-region branch May 22, 2019 18:54
@sizebot
Copy link

sizebot commented May 22, 2019

Warnings
⚠️

Could not find build artifacts for base commit: f3109ad

Generated by 🚫 dangerJS

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