-
Notifications
You must be signed in to change notification settings - Fork 353
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(popper): improve flip behavior in RTL #9640
fix(popper): improve flip behavior in RTL #9640
Conversation
Preview: https://patternfly-react-pr-9640.surge.sh A11y report: https://patternfly-react-pr-9640-a11y.surge.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, here's some screenshots showing how this update looks to improve things even in LTR. Both are using the Notification Drawer example with some padding removed.
From the React staging site (with default position of "left" for the dropdown menu):
From this PR preview, also using position of "left" on the dropdown:
The dropdown menu gets repositioned a bit to keep it from overflowing off screen with this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, menu no longer obscured
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, non-blocking nit below. Do we want to expose this proper anywhere else that Popper is being used so that it could at least be opted into for those components?
@thatblindgeye yeah I can add it to the various |
Co-authored-by: Eric Olkowski <[email protected]>
61e779d
to
9dd2db3
Compare
LGTM |
What: Closes #9639
Additional issues: