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

Use Teleport to position dropdown #1

Open
sophieews opened this issue Mar 22, 2021 · 1 comment
Open

Use Teleport to position dropdown #1

sophieews opened this issue Mar 22, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@sophieews
Copy link

When parent component places restrictions on the overflow/positioning of child components this has an unwanted effect on the 'dropdown' part of the vue-multiselect component. Because we want the dropdown to be at the top of the stack, using Vue 3's new teleport functionality may make sense. The desired z-index of the div the dropdowns get teleported to could be a variable to provide flexibility with other teleported components.

Reproduction Link

--

Steps to reproduce

--

Expected behaviour

Screenshot from 2021-03-22 09-45-37

Actual behaviour

Screenshot from 2021-03-22 09-37-00

@mattelen
Copy link
Member

Great idea! I'll look into this in the coming weeks and see if we can make this happen

@mattelen mattelen added the enhancement New feature or request label Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants