On the Mapbox API reference page, there are 7 listed objects that allow you to enable and disable user interactions. There is BoxZoomHandler, ScrollZoomHandler, DragPanHandler, DragRotateHandler, KeyboardHandler, DoubleClickZoomHandler, and TouchZoomRotateHandler.
https://docs.mapbox.com/mapbox-gl-js/api/#user%20interaction%20handlers
For example, to disable double click zoom with the mouse, you do map.DoubleClickZoomHandler.disable().
I want to disable the double touch zoom, but I see no reference for it. Does anyone know how to accomplish this?
Edit: I'm using Windows 10 and Google Chrome browser.
ontouchstart
to the element you want to disable the behavior on and then preventing the default event. For a button for example, disabling the default ontouchstart behavior would prevent double clicking the button to zoom, and from there you could call the original click functionality. Small demo shows it here, will need to view on mobile or enable mobile view in chrome codepen.io/jensbodal/pen/moqpwg