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

fix(Popover): arrow offset when scrolling offscreen #5287

Merged
merged 2 commits into from Jul 10, 2020

Conversation

jquense
Copy link
Member

@jquense jquense commented Jul 10, 2020

depends on the react overlays bump.

this still doesn't cover this problem floating-ui/react-popper#375 but at least it won't lock up and crash

!overlayRef.current ||
!state.elements.arrow ||
!hasClass(overlayRef.current, 'popover') ||
!state.modifiersData['arrow#persistent']
Copy link
Member

Choose a reason for hiding this comment

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

question: where does #persistent come from? is this really an id?

Copy link
Member Author

Choose a reason for hiding this comment

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

its a special key Popper adds, nothing unique about it tho aside from Popper picked it

@jquense jquense merged commit 0e86a51 into master Jul 10, 2020
@jquense jquense deleted the fix-popover-arrow-offset branch July 10, 2020 19:16
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.

None yet

2 participants