accessible-mega-menu icon indicating copy to clipboard operation
accessible-mega-menu copied to clipboard

Touch needs two taps to open drowpdown. Bug?

Open somatonic opened this issue 6 years ago • 0 comments

I'm using this plugin and noticed that on touch, it actually needs two taps to open the dropdown. Is this intended? I think it's a bug and it should open on first tap.

After investigating a little more I changed #247 to

_togglePanel.call(this, event, !target.hasClass(this.settings.openClass));

adding the "!" did the trick.

somatonic avatar Sep 05 '19 11:09 somatonic