-
Notifications
You must be signed in to change notification settings - Fork 141
Unable to close the menu when clicking on HTML tag or BODY tag #293
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
Comments
Please post an example, see #61 |
Any feedback on this issue? |
Hi, don't know if I can reproduce this in jsfiddle, but it reproduses in ie9 and chrome on win7, win server 2003, 2007. Basically if you click on the body element when you have the drop down open you have a exception, saying that offsetparent is undefined. Hope this helps. |
I cant reproduce it with default demo. I would need a minimal demo here. |
I have the same issue when I click on body element (event.target is HTMLBodyElement). Value of HTMLBodyElement's |
Again: please post a minimal demo. |
Here you are: http://jsfiddle.net/fnagel/GXtpC/embedded/result/ |
That's what I was talking about. |
Oh, shit. Thats a bad one. Problem confirmed, even in latest FF. |
Problem is related to this one: #300 |
I've fixed this by reverting an old commit. Thanks for reporting! Please check latest commit and give feedback! |
But now it work only when clicking on the html tag outside our html elements. |
Problem confirmed. Ive adopted the if clause we use in the new version. Works nice. Please test and give feedback! |
Works like a charm 👍 |
Closed as fixed. |
Please add this fix to the code:
The text was updated successfully, but these errors were encountered: