chanan / BlazorStrap

Bootstrap 4 Components for Blazor Framework
https://blazorstrap.io
The Unlicense
910 stars 156 forks source link

Dropdown does not close automatically when clicking inside a form element #573

Closed jonsaich closed 1 year ago

jonsaich commented 1 year ago

When using the BSDropdown component, the dropdown does not automatically close when clicking inside a form element.

When a click event is made, the below method is invoked.

override async Task InteropEventCallback(string id, CallerName name, EventType type,
            Dictionary<string, string>? classList, JavascriptEvent? e)

The method does the following:

image