megamenu-js icon indicating copy to clipboard operation
megamenu-js copied to clipboard

Menu closes when focus changes to embedded form

Open BigBlockStudios opened this issue 6 years ago • 3 comments

The menu will close if the focus changes in an embedded form (form embedded in the mega menu), either clicking on a field or the browser trying to popup content prompts. also if a submit/clear button is clicked. Makes ajax forms (login) difficult.

Need a method to close the menu on some click events, but not on others.

BigBlockStudios avatar May 24 '18 16:05 BigBlockStudios

if u have time make a PR, i really cant deal with this repo ATM, probably will fix all issues in few months but if u want to help i will appreciate it

marioloncarek avatar May 24 '18 20:05 marioloncarek

Not sure how to pull/contribute. pretty far down the road here form me to abandon what I have done so far. but will send you any changes/fixes I make. Also - I was looking for a simple & clean mega meng to use with the foundation (6) framework as their menu system has gone to hell. this one works fine, but the .menu class conflicts with foundation's menu classes - I had to change it (yours) to .mega-menu - just a suggestion.

BigBlockStudios avatar May 25 '18 13:05 BigBlockStudios

thanks will consider!

marioloncarek avatar Jun 05 '18 21:06 marioloncarek