Viglino / ol-ext

Cool extensions for Openlayers (ol) - animated clusters, CSS popup, Font Awesome symbol renderer, charts for statistical map (pie/bar), layer switcher, wikipedia layer, animations, canvas filters.
https://viglino.github.io/ol-ext/
Other
1.21k stars 457 forks source link

interaction/Transform - Flashing screens on mobile devices #1077

Open asrat-77 opened 1 week ago

asrat-77 commented 1 week ago

Hello,

this Transform interaction is not correct on mobile devices. Tested.

Relevant error link: https://github.com/zeppelin/ember-click-outside/issues/25

When the style.cursor value is changed in Transform.js, the wrapper content is flashed

I think the solution is something like this: example code

if (! 'ontouchstart' in window){ ... element.style.cursor = c }

Viglino commented 1 week ago

Fixed in the last commit