Skip to content

UX: Enable long-touch menu in photo viewer on iOS #1233

@jkgeyti

Description

@jkgeyti

With the recent release, and the improved touch support, photoprism is finally usable on iOS! Loving all the good work and fantastic additions 🎉 There's still a handful of issues wrt downloading and sharing, but in the interim, it'd be good to be able to copy the JPEG shown in the photo viewer, so images can be quickly shared with other apps.

In desktop browsers, you can right click images to get a context menu that includes a "Copy image" context menu, but on iOS, -webkit-touch-callout: none is set on images shown in the popup full-screen image viewer, which disables the long-press context menu.

As a quick hack, adding the following css and long-clicking images produces the context menu shown in the screenshot below. I'm not sure if there's any good justification for disabling the context menu on mobile devices, but if not, it'd be really convenient if it could be enabled 🙏 .

.pswp__img {
    -webkit-touch-callout: default !important;
}

Metadata

Metadata

Assignees

Labels

mobileEspecially important for mobile devicesreleasedAvailable in a stable releaseuxImpacts User Experience

Type

No type
No fields configured for issues without a type.

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions