stimulus-dropdown icon indicating copy to clipboard operation
stimulus-dropdown copied to clipboard

A Stimulus controller to create a dropdown.

Results 5 stimulus-dropdown issues
Sort by recently updated
recently updated
newest added

When using import maps the docs from stimulus-components direct us to register the controller by adding a code snippet to `app/javascript/controllers/index.js`. Easy enough, but the default instructions in a Rails...

Prevents the menu from leaving the screen, so that it always remains visible. This also allows the menu to be used in the navigation bars at the bottom of the...

I am having an issue in Rails 7 with the transitions not working for the dropdown. I can disable the 'data-transition' tags and the dropdown functionality remains, but the transitions...

Apologies if question is trivial. I don't think it has been asked before, or at least I didn't find one. How would I change the default state of the div...

Once `click@window->dropdown#hide` get invoked, action `hide` will be called any time user clicks somewhere.