midzer / tobii

An accessible, open-source lightbox with no dependencies
https://midzer.github.io/tobii/demo/
MIT License
196 stars 20 forks source link

Feature Request: Zoom on mobile #118

Open Mattrushka opened 8 months ago

Mattrushka commented 8 months ago

Current behaviour Currently users are not able to pinch-to-zoom into Lightbox images.

Desired behaviour Enable pich-to-zoom feature on mobile devices. Offer function as option setting.

midzer commented 8 months ago

Thanks for opening up, @Mattrushka

Yeah, this is a good point!

midzer commented 4 months ago

This looks like a bigger feature, after reading through

https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events/Pinch_zoom_gestures#example

If anyone likes to work on this one, would be nice :)