Skip to content

[Flare] Account for fixed elements in getAbsoluteBoundingClientRect#15707

Merged
trueadm merged 3 commits intofacebook:masterfrom
trueadm:handle-responder-region
May 22, 2019
Merged

[Flare] Account for fixed elements in getAbsoluteBoundingClientRect#15707
trueadm merged 3 commits intofacebook:masterfrom
trueadm:handle-responder-region

Conversation

@trueadm
Copy link
Copy Markdown
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.

@trueadm trueadm requested a review from necolas May 22, 2019 17:37
Comment thread packages/react-events/src/Press.js
@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
Copy Markdown

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.

4 participants