Open Legend-Master opened 5 days ago
What's the motivation to disable pinch zoom as a configuration?
This allows you to use your own pinch zoom handlings, for example https://figma.com and https://squoosh.app, I don't think we have preventDefault
on touch events implemented currently, so this is a work around for now, also some people just want to make their web app (webview app) feel like a native app with all those web features disabled (personally I'm not a fan of it but there're people want that)
It should implement preventDefault
on touch events to Servo directly. I think we could explore other CLI options that could be more crucial.
Sure we can, but I still want to argue that attaching non passive touch event listeners hurt performance
Enable touch support and allow disable pinch zoom from command line flag