Comments (4)
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?
from bootstrap-contextmenu.
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.
from bootstrap-contextmenu.
Hi @razor-1 , what fix did you do to this issue?
from bootstrap-contextmenu.
@ricaragao you can look at commit e161a0c from razor-1/bootstrap-contextmenu to see how.
from bootstrap-contextmenu.
Related Issues (20)
- Q: Are you moving this to a new maintainer?
- errors occur when it is in summernote' table
- Adding context menu to Raphael/SVG
- why tr is remove???
- Bootstrap Modal not working in ContextMenu
- How can i change actions dynamicaly
- sydcanem.com domain with demo has expired ... HOT 1
- bootstrap-contextmenu Get the right-click content
- [Tips] Adaption for bootstrap v4+
- onItem will be called twice when triggers a submenu item HOT 2
- Calling closemenu() without argument causes type error HOT 6
- Add to npmjs.com
- can't nest other controls that require click inside menu (e.g. form elements)
- How to bind "onItem" ? HOT 1
- bug:Uncaught TypeError: Cannot read property 'stopPropagation' of undefined HOT 8
- Cannot read property 'left' of undefined HOT 2
- After open, 2nd right click open a real context menu HOT 2
- Popup position is incorrect
- Uncaught TypeError: Cannot read property 'stopPropagation' of undefined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-contextmenu.