This example shows the problem with the class hidden in the dropdown function component.
When we have an event inside a dropdown, the dropdown will close. This happens because the opening of the dropdown is triggered by JS and on an event the hidden class is set by Phoenix.
counter: 0