uPlot icon indicating copy to clipboard operation
uPlot copied to clipboard

Touch zoom plugin: touch outside issue

Open denyaalt opened this issue 3 years ago • 1 comments

Hi, In the touch zoom example, if you touch outside of <div class="u-over"></div> and try to pinch two fingers, the zoom will immediately go to maximum. I shot a video:

HVs5Si8s2b

P.S. And the second question, how can we prevent excessive zoom, in which the display does not show dots and lines?

denyaalt avatar Mar 23 '21 12:03 denyaalt

there are certainly gaps in handling all situations.

there is nothing here that is uPlot specific, it just requires writing more vanilla js code.

i won't have time to work on this for a while, but if you'd like to contribute any improvements to the plugin, i would be happy to review them.

leeoniya avatar Mar 23 '21 14:03 leeoniya