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

Vue Select doesn't work on Bootstrap Modal #1821

Open
macellinoss275 opened this issue Feb 22, 2024 · 1 comment
Open

Vue Select doesn't work on Bootstrap Modal #1821

macellinoss275 opened this issue Feb 22, 2024 · 1 comment
Labels

Comments

@macellinoss275
Copy link

Please respect maintainers time by filling in these sections. Your issue will likely be closed without this information.

  • Vue Version: ^3.4.19
  • Vue Select Version: 4.0.0-beta.6

Describe the bug
I'm using the latest version of both Bootstrap 5 and Vue Select. My Select is on a modal and not a new page. The problem is not only the overlay is weird, but the option outside it can't be clicked.

Steps To Reproduce
Here is my code for the select:

                                <div class="mb-3">
                                    <label class="form-label" for="employment_type">Employment Type</label>
                                    <vSelect placeholder="Select Type" :options="['Mustard', 'Ketchup', 'Relish']" />
                                </div>

Expected behavior
I think the problem here is there is no background to contain the option while the Bootstrap Select comes with a background box that will overlay successfully.

Screenshots
Here is the problem:
image

My mouse cannot reach the "Relish" option:
image

@smirnov-d
Copy link

Hello, @macellinoss275. Maybe an "append-to-body" prop can solve this issue

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

No branches or pull requests

2 participants