snapappointments / bootstrap-select

:rocket: The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more.
https://developer.snapappointments.com/bootstrap-select/
MIT License
9.84k stars 2.72k forks source link

Cannot type in data-live-search after upgrading to bootstrap 5 with Bootstrap-select v1.14.0-beta2 #2613

Open jbs7 opened 3 years ago

jbs7 commented 3 years ago

Hi, After upgrading to Bootstrap 5, I used the Bootstrap-select v1.14.0-beta2 plugin... everything is working perfectly except that I cannot type anything in live-search

The input field is showing, but I cannot click on it nor type on it... Is it some css error Please help me

thank you

jbs7 commented 3 years ago

HI, I found a solution If I put data-live-search="true" data-container="body", it doesn't work If I delete data-container="body", then it's working

Guiraudou commented 3 years ago

Same here. Try to fix it but didn't succeed.

Guiraudou commented 3 years ago

Environment details : jQuery version: 3.6.0 Bootstrap version: 5.0.2 Bootstrap-select: v1.14.0-beta2

Demo : https://plnkr.co/edit/C7ylNsxMPPDHMJQv

ITS-Account commented 2 years ago

Is there a known workaround solution for this issue?

Salvatoregreco commented 4 months ago

@Guiraudou I ran into this bug just today and solved it by attaching the element to the modal and not the body: data-container=".modal"