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

Overflow adjust not working properly when parent has overflowY #50

Open
bryceosterhaus opened this issue Jan 9, 2020 · 0 comments
Open

Comments

@bryceosterhaus
Copy link

I found this issue while working with some fixed elements that have overflow styles in the parent. Is this expected? I would think that the adjust feature would pull the element back into the viewport.

Bug Example: https://codesandbox.io/s/dom-align-bug-scymr

Expected Result: Clicking on button would auto adjust dropdown to be within the window.

Actual Result: Dropdown element flows off of page, adding a scroll in the x direction.

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

No branches or pull requests

1 participant