Close dropdown after action completes

I have a custom dropdown with action that shows a loading indicator, how can I close the dropdown automatically after it completes?

Would I need to customize this to use an entangle state or a simple browser event?

https://github.com/filamentphp/filament/blob/2.x/packages/support/resources/views/components/dropdown/index.blade.php
Was this page helpful?