3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
260 stars 143 forks source link

mobile - details hardly displays on touch on an entity (polygon) #1596

Open geoemka opened 4 years ago

geoemka commented 4 years ago

What is the bug?

On mobile device, trying to display details of an entity on touch (1 touch or 2 touch) in the so-called pop-up section. The table ultimately displays but randomly, I did not figure out on which action it displays or not. I reckon it's on a very brief and vertical touch, that do not scroll the map either way - the scroll on touch might be too sensitive.

Works fine for the desktop version on-click.

bugreport_1

Expected behavior

On one touch or maybe two, display table information about the entity bugreport_2

Environment

mdouchin commented 4 years ago

@nboisteault FYI We perhpas need to activate touch navigation ? Of course, this should be really adressed in the future by using OL 6 http://dev.openlayers.org/docs/files/OpenLayers/Control/TouchNavigation-js.html

nboisteault commented 4 years ago

This issue is a duplicate of #975, #999 and #1012. @mdouchin In the link you gave it is written.

The OpenLayers.Control.Navigation control is mobile ready by default, but you can generate a smaller build of the library by only including this touch navigation control if you aren’t concerned about mouse interaction.

so TouchNavigation won't fix the issue. @geoemka Firefox mobile seems to not have this issue, is it an option for you to use it instead of Chrome ?

nboisteault commented 4 years ago

I have no issue neither on Firefox mobile nor on Chrome with Android 9. This might be fixed for other OS and browser with OL6 so I change milestone to Lizmap 4.