Problem/Motivation
When having a dropdown component, the first link is render perfectly and near it, the "toggle dropdown" button is rendered with the rest of the links.
However, if there are no links to be rendered, the button is still there displaying and empty box when clicking on the arrow, as the ul is hidden
Steps to reproduce
For example, in a view with just one link under the operations column
Proposed resolution
Change the behaviour of the dropdown so it renders the "toggle button" and the rest of the items only if there are items to be rendered
Issue fork radix-3576155
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gorkagr commentedComment #4
gorkagr commentedComment #5
anybodyThank you!
Comment #8
doxigo commentedThanks a lot guys for the clean MR and sorry for a late response, merged.