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 position is miscalculated when used in a dialog with append-to referencing the modal class #432

Open
mick32 opened this issue Nov 18, 2024 · 0 comments

Comments

@mick32
Copy link

mick32 commented Nov 18, 2024

Version

  • Vue version: 3.4
  • multiselect version 2.6.10

Description

When a dropdown is rendered inside a dialog element and the append-to prop is set to a selector referencing the dialog, its position is calculated incorrectly. This issue only occurs when the dropdown does not have a fixed width; with a fixed width, the problem does not appear. Also if you scroll the dropdown the position is recalculated correctly. Only the case in Chrome

Demo

https://jsfiddle.net/4Lqpv3x1/55/
multiselect_dropdown_demo.webm

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