Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Catching Mac trackpad zoom in OS X Safari [duplicate]

This question asks how to catch a trackpad two-fingers pinch-zoom on a Mac computer.

The accepted answer explains that Chrome for OS X triggers a wheel event with ctrl key pressed when detecting a two-fingers pinch on the trackpad.

Unfortunately, this solution doesn't work in Safari.

How to detect a two-fingers pinch-zoom in OS X Safari with Javascript?

like image 738
Jivan Avatar asked Nov 08 '22 23:11

Jivan


1 Answers

UPDATE : support has been added, see https://stackoverflow.com/a/37183950/1054573

I have been looking exhaustively for a solution to this. Google maps fails to catch the pinch to zoom event in desktop Safari. So I really don't think it's currently possible.

like image 101
atomless Avatar answered Nov 15 '22 05:11

atomless