-
Notifications
You must be signed in to change notification settings - Fork 193
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
Safari on OSX #91
Comments
Changing to use pageX and pageY to calculate position fixes this. So probably some additional logic is needed in show() to work around whatever the Safari issue is. Maybe all the code in show() could just run if position is fixed on the menu, and otherwise keep it simple with pageX and pageY? |
Actually, I think it has to do with control-click to right-click. Safari fires both a contextmenu and a click with ctrlKey set on a control-click. If this project is not abandoned, which it appears it is as no pull requests have been approved in some time, I can provide a simple fix. |
Hi @razor-1 , what fix did you do to this issue? |
@ricaragao you can look at commit e161a0c from razor-1/bootstrap-contextmenu to see how. |
I recently started noticing an issue, on Safari 8.0.6 with OSX 10.10.3. The contextmenu pops up and immediately disappears. Upon debugging it looks like another click is being registered just outside the contextmenu itself. If you hold the mouse down and drag the cursor into the menu area it will work normally, but just clicking causes it to disappear right away.
The text was updated successfully, but these errors were encountered: