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

[UI bug] long press on IOS does not open LRR context menu #1160

Open
psilabs-dev opened this issue Jan 10, 2025 · 2 comments
Open

[UI bug] long press on IOS does not open LRR context menu #1160

psilabs-dev opened this issue Jan 10, 2025 · 2 comments

Comments

@psilabs-dev
Copy link
Contributor

LRR Version and OS
LRR v0.9.30, Docker on Ubuntu

Bug Details
On ios devices (ipad, iphone) using the Safari browser, the long press action does not open the custom context menu; instead, it opens the traditional ios pop up window that previews the link. Similar behavior occurs for Chrome and Firefox on ios.

Effect of the long press on an iPhone on ios Safari and Firefox:
IMG_7802

Effect of the long press on an iPhone on ios Chrome:
IMG_7803

Expected behavior: a long press should open the custom context menu as shown below:
Screenshot 2025-01-09 at 8 46 07 PM

Not sure if this is something that is controlled by the browser or adjustable on the frontend, but might as well submit the issue for now

@Difegue
Copy link
Owner

Difegue commented Jan 12, 2025

This sounds like a Safari/WebKit specific problem - Alternate browsers on iOS are just a skin over webkit.

Looks like it might be possible to disable the iOS context menu with some CSS, I'll give that a shot and we can see how it goes.

body { -webkit-touch-callout: none !important; }
a { -webkit-user-select: none !important; }

@Difegue
Copy link
Owner

Difegue commented Jan 12, 2025

Hmm, looks different after all, CSS alone doesn't cut it: swisnl/jQuery-contextMenu#628

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