-
Notifications
You must be signed in to change notification settings - Fork 152
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
Append dropdown to body #341
Comments
i'm also facing this issue need a solution |
any solution? |
Same problem here |
please? 🥺 |
please !! |
To have the desired behavior the modal body should not be scrollable. |
To have the desired behavior the modal body should not be scrollable. |
@MohamedHana You're missing the point, I want the modal body to be scrollable if it has long content, I don't want the dropdown to trigger the scroll. The dropdown should be appended to the body of the page like every dropdown library does (like Popper.js) |
Thank you for the patience guys. It's now implemented in |
Version
Description
Currently, the dropdown is a child of the component, it should be appended to the body using a
<Teleport>
(Vue 3) /<Portal>
(Vue 2) to prevent making anoverflow-y: auto;
scrollable (ex: Inside a modal).Demo
Desired behavior (the dropdown should overlay everything):
The text was updated successfully, but these errors were encountered: