Bug with Dropdown button

If you have a button item hidden, the remaining event handlers are offset. Let me explain

I have this set of buttons:

image

Edit Template is Hidden:

image

If I click the Refresh Queries item, the even handler for Update Invoice W/ Template fires. If I click Cancel invoice then the event for Refresh Queries fires.

If I restore Edit Template then the correct events fire. Seems like the array for the events and the one for the buttons is getting out of sync.

Thanks for reporting this @bradlymathews! I was able to reproduce it and will let you know here when we have a fix.

Just want to give a quick update here, we've pushed some changes that look like they've fixed this issue. Can you let me know if you're still seeing it?