Closed cychen117 closed 4 months ago
you are right i had to do something to allow clicking the scrollbar when a list is too long, but that has an unfortunate side effect i have the solution here https://github.com/lekoala/bootstrap5-autocomplete/releases/tag/1.1.27 it's been published you can give it a try
It works, thank you very much.
Hello,
I am using the bootstrap5-autocomplete plugin in a Bootstrap 5 modal. I have noticed an issue where the autocomplete dropdown does not disappear when I click outside of it. The input and the autocomplete dropdown are inside a modal.
Expected Behavior: When I click outside of the autocomplete dropdown, I expect the dropdown to disappear. Actual Behavior: The dropdown does not disappear when I click outside of it. Additional Information: If the input field and the autocomplete dropdown are not inside a modal, the dropdown disappears as expected when clicking outside of it.
Could you please help me understand if this is a known issue or if there is a workaround for this? Any help would be greatly appreciated. Thank you!
Here is the relevant code: