Suffice it to say, the way dropdown menus are currently generated (for dropbuttons) is severely broken.

There's a lot of reshuffling of the "links" provided so that they are constructed using proper links (which is what Bootstrap expects).

Unfortunately, however, the way the current JS code is "handling" the singular click event on non "true" links is borked (at best).

The solution needs to, not only generate a true link, but also render the original element (but hidden) so a true event proxy can take place.

There was an original attempt to semi-fix this in #2824693: Dropbutton/Actions button on node add/edit form only shows "Save and publish", however it was no where near as extensive enough as we had originally though.

Comments

markcarver created an issue. See original summary.

markhalliwell’s picture

Status: Active » Needs review
StatusFileSize
new19.32 KB
markhalliwell’s picture

StatusFileSize
new1.81 KB
new523 bytes

Need to ignore tab events because it's need for keyboard navigation.

markhalliwell’s picture

StatusFileSize
new19.45 KB

Ugh, wrong commit.

  • markcarver committed 5c1a0cf on 8.x-3.x
    Issue #2838956 by markcarver: Events bound to original dropdown elements...
markhalliwell’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.