Skip to content

fix(Popover): fix arrow alignment when running Popper >= 2.84 #5774

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

Merged
merged 1 commit into from
May 8, 2021

Conversation

kyletsang
Copy link
Member

Fixes #5769

Popper starting from 2.84 no longer uses state.modifiersData['arrow#persistent'] for the arrow padding. This was changed in floating-ui/floating-ui#1255.

We need to pass the padding through our own arrow modifier now.

@kyletsang kyletsang requested a review from jquense April 19, 2021 05:36
@kyletsang kyletsang merged commit da85f30 into react-bootstrap:master May 8, 2021
@kyletsang kyletsang deleted the fix/popover-align branch May 8, 2021 20:02
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.

Tooltip Popover arrow not centered properly in [email protected]
2 participants