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

Dropdown language selector menu shifts on scroll #287

Open
okplanbo opened this issue Sep 9, 2023 · 1 comment
Open

Dropdown language selector menu shifts on scroll #287

okplanbo opened this issue Sep 9, 2023 · 1 comment

Comments

@okplanbo
Copy link

okplanbo commented Sep 9, 2023

Hi everyone.

The dropdown menu shifts to the left if it is opened and if the page is being scrolled.

Functional, but a bit annoying.

image
image

@eric-burel eric-burel self-assigned this Oct 18, 2023
@eric-burel
Copy link
Contributor

eric-burel commented Oct 24, 2023

On it, this is FF specific (edit: actually no I can repro on Chrome also, when the screen is smaller in height than the menu I think, will dig).

What happens is that the "x-placement" attribute changes while we scroll. I think the dropdown notices that it should open in a different direction depending on how much we scroll. It could be disabled here.

Also should be in dark mode.

Update: the bug is not in our own code, see react-bootstrap/react-bootstrap#6715
I've however set it to dark version so it doesn't flash people.

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

No branches or pull requests

2 participants