web-mapviewer icon indicating copy to clipboard operation
web-mapviewer copied to clipboard

PB-1003: no more long mouse left clicks

Open ltkum opened this issue 1 year ago • 1 comments

Issue : pressing the left mouse button for a long period of time would cause the location popup to appear

Cause : in openlayers, the singleClick event represents both mouse left clicks and mobiles touchdown events

Fix : We check the pointer type of the original event, ensuring we only handle the cases where this was triggered on a mobile.

Test link

ltkum avatar Sep 26 '24 13:09 ltkum

web-mapviewer    Run #3529

Run Properties:  status check passed Passed #3529  •  git commit ec4ad7fca0: PB-1003: support for IOS and double event correction
Project web-mapviewer
Run status status check passed Passed #3529
Run duration 04m 17s
Commit git commit ec4ad7fca0: PB-1003: support for IOS and double event correction
Committer Martin Künzi
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 211

cypress[bot] avatar Sep 26 '24 13:09 cypress[bot]