Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu closes when focus changes to embedded form #29

Open
BigBlockStudios opened this issue May 24, 2018 · 3 comments
Open

Menu closes when focus changes to embedded form #29

BigBlockStudios opened this issue May 24, 2018 · 3 comments

Comments

@BigBlockStudios
Copy link

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.

@marioloncarek
Copy link
Owner

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

@BigBlockStudios
Copy link
Author

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.

@marioloncarek
Copy link
Owner

thanks will consider!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants