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 causes parent's vertical scrollbar to flicker #1057

Open
vladguan opened this issue Nov 4, 2024 · 2 comments
Open

dropdown causes parent's vertical scrollbar to flicker #1057

vladguan opened this issue Nov 4, 2024 · 2 comments

Comments

@vladguan
Copy link

vladguan commented Nov 4, 2024

Hi,

I am using the dropdown to show a form and the first time showing it, the parent's vertical scrollbar appears and immediately disappears. Subsequent showing of the dropdown does not trigger the behaviour.

I have added a workaround in the css section as:
body {
overflow-y: hidden;
}

However, I am not sure if this is an ideal solution. I have specified the placement accordingly and the boundary as the parent's content pane, which is plenty big for it. Am I missing something?

Cheers,
Vlad

@vladguan
Copy link
Author

vladguan commented Nov 6, 2024

It seems to happen when I set the placement prop as a computed value (calculate the placement depending on our own needs) rather than a static value.

@zjx-git
Copy link

zjx-git commented Dec 6, 2024

same in my project

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

2 participants