Open austinstudio opened 9 years ago
Does anyone review the items out here anymore?
Well I don't know if this is a good way to do this or not, but I changed the following in line 752 of the js file.
.on("mouseover.accessible-megamenu", $.proxy(_mouseOverHandler, this))
To:
.on("click.accessible-megamenu", $.proxy(_mouseOverHandler, this))
This seems to have worked but not sure if there is another way to do this that won't equal modifying the mouseover event.
This would be fixed by https://github.com/adobe-accessibility/Accessible-Mega-Menu/pull/27
Thanks for the response. I did the same eventually. I just figured there would be a better way.
I'm trying to do the same. I followed austinstudio's suggestion above and that opens the menu on first click, but I need it to close when the user clicks it again. Suggestions?
There might be another place where the close event is called that needs to also be changed.
Any luck solving this @tactics2?
I'm having the same issue.
Is there a way I can make it so you have to click or press enter/space to get the first level of the menu to open? I don't want it to happen on hover of the mouse. Most menu scripts I have seen have some parameters that can be set through JavaScript but I can't find any API with this one that does this.
Thank you in advance.