brianvoe / slim-select

Slim advanced select dropdown
http://slimselectjs.com
MIT License
1.03k stars 195 forks source link

Search box disabled or z-index issue #475

Closed hubert17 closed 1 year ago

hubert17 commented 1 year ago

Describe the bug Search input box seems disabled, unclickable or having a z-index issue when Select is placed in Bootstrap 4 modal.

Screenshots image

brianvoe commented 1 year ago

Unfortunately this looks like a style issue outside of slim-select. unless you can recreate it in a jsfiddle or something.

rob-race commented 11 months ago

Even though it is not this library's problem, the issue is that the modal steals the focus and does not allow the search box to accept input. This can be remedied by adding data-bs-focus="false" to your modal markup.

auliarahmed commented 11 months ago

Even though it is not this library's problem, the issue is that the modal steals the focus and does not allow the search box to accept input. This can be remedied by adding data-bs-focus="false" to your modal markup.

thx, your answer fix my problem while using bootstrap 4 modal

brianvoe commented 11 months ago

Thanks @rob-race