You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
long pressing a link doesn't open the context menu on iOS #10622
What is the issue? *
In iOS 10, to touch and hold a link cannot bring up context menu, suppose it will bring up below context menu. http://oi63.tinypic.com/2hqf0uc.jpg
What is the expected behavior?
Bring up context menu when hold on the link(which is html a tab)
changed the title [-]iOS Safari/Chrome - Touch and Hold on the link cannot bring up context menu[/-][+]long pressing a link doesn't open the context menu[/+]on Dec 18, 2018
changed the title [-]long pressing a link doesn't open the context menu[/-][+]long pressing a link doesn't open the context menu on iOS[/+]on Dec 18, 2018
I can reproduce this with AngularJS Material 1.1.10 and HEAD (1.1.11) using iOS 12.1.1 on both Chrome and Safari using the docs. On another random web page, long pressing links does give a menu, but not on our docs.
I tracked this style back over 5+ years ago when the project first started and at no point could I find a reason that it was added. Based on this article it appears to be a recommended pattern for PhoneGap/Cordova/Ionic apps so that a "web" looking menu doesn't show up in your Hybrid app that is trying to fake like it's Native.
Activity
[-]iOS Safari/Chrome - Touch and Hold on the link cannot bring up context menu[/-][+]long pressing a link doesn't open the context menu[/+][-]long pressing a link doesn't open the context menu[/-][+]long pressing a link doesn't open the context menu on iOS[/+]Splaktar commentedon Dec 18, 2018
I can reproduce this with AngularJS Material 1.1.10 and HEAD (1.1.11) using iOS 12.1.1 on both Chrome and Safari using the docs. On another random web page, long pressing links does give a menu, but not on our docs.
Splaktar commentedon Dec 18, 2018
This appears to be related to our use of https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-touch-callout on the
body. We apply-webkit-touch-callout: none;, but it's not clear why.I tracked this style back over 5+ years ago when the project first started and at no point could I find a reason that it was added. Based on this article it appears to be a recommended pattern for PhoneGap/Cordova/Ionic apps so that a "web" looking menu doesn't show up in your Hybrid app that is trying to fake like it's Native.
For reference (from oldest to latest):
Other related issues I found:
handsontable/handsontable#5171
Workaround:
20 remaining items
Splaktar commentedon Sep 9, 2020
There has been no feedback on this in almost 2 years, so I think that it's plenty safe to change it to
default.fix(typography): enable iOS long-press context menus
fix(typography): enable iOS long-press context menus