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

Bug - Dropdown - position='right' does not work in combination with isFlipEnabled #8013

Closed
wise-king-sullyman opened this issue Sep 19, 2022 · 0 comments · Fixed by #8224
Closed
Assignees
Milestone

Comments

@wise-king-sullyman
Copy link
Contributor

Describe the problem
Enabling flip behavior on the Dropdown component causes the menu to only render left-aligned with the toggle, regardless of the setting of the position prop.

How do you reproduce the problem?
Set position='right' and isFlipEnabled={true}` on a Dropdown.
https://codesandbox.io/s/pedantic-ben-j8l5wg?file=/index.tsx

Screenshots
image

It seems that this issue is (at least partially) caused by position: revert being applied when flipping is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants