Closed jcorporation closed 1 year ago
Currently we don't support data-bs-auto-close="outside"
functionality.
Thanks for that hint. Issue occurs also without this attribute.
I can confirm the issue.
For some reason I removed stopPropagation
from the Dropdown click listener and this happened. I'm reverting that change and you can go ahead and test latest master. Once we're ok, we can push the next release.
@jcorporation
It works now, many thanks for the quick fix!
v5.0.6 is now live, thanks for the report and the testing.
If the user clicks a span element inside a dropdown menu triggering button the dropdown closes instantly. Clicking outside the span elements but inside the button works.
I added a show and a hide event handler to the dropdown and both events are triggered correctly, but the dropdown menu closes instantly.
Following markup produces this issue: