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

Error on search field in modal #593

Closed
Oute-Oute opened this issue Jan 8, 2025 · 1 comment
Closed

Error on search field in modal #593

Oute-Oute opened this issue Jan 8, 2025 · 1 comment

Comments

@Oute-Oute
Copy link

Environment
Last SlimSelect version (2.10.0)
Bootstrap 4.3 modified by my company with help of custom CSS (you have the css custom css in the codepen)
JQuery 3.7.1

Describe the bug
I use several slimselect object in my website (btw thanks for the incredible library!)
Everyone of them works as really fine, but recently i tried to add a select in a modal and I have an error in this new select : the search field doesn't work, i can't select or type text in it and of course it doesn't search anything (it's particularly annoying because I have several hundred values in this select and without the search field it's very complicated to use it)

Recreate it in Codepen
https://codepen.io/Oute-Oute/pen/azoqbpz

To Reproduce

  1. Open the first select, the search field in focused and you can type anything in it, it search correctly
  2. Open the modal
  3. Open the select in the modal, the search field is not focused and you can't type anything in it, blocking the search

Let me know if you need more information to investigate the error.

@brianvoe
Copy link
Owner

brianvoe commented Jan 8, 2025

Hi I do see your issue. Unfortunately I dont see this as a slim select issue. Most likely it has to do with your modal overlay z indexing.

@brianvoe brianvoe closed this as completed Jan 8, 2025
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