Is there any reason a deactivated button should still be getting click events? The documentation seems to indicate that this shouldn’t be happening.
I set up the event handler like this:
this.entity.element.on('click', this.onClick, this);
I have had to include the following conditional in my ‘onClick’ function:
if(this.entity.button && this.entity.button.active) { }
I can tell that the buttons are inactive because they are using the “inactive tint” color. Yet, I can still click on them, triggering my onClick handler.
This is happening in Chrome, Windows 10, with just a mouse.