umap icon indicating copy to clipboard operation
umap copied to clipboard

Outline on path focus

Open jschleic opened this issue 2 years ago • 2 comments

Describe the bug When clicking on a path, a box shows up in chromium browsers: grafik

grafik

To Reproduce Steps to reproduce the behavior:

  1. Go to ~~any~~ a map with paths and setting "display labels on hover", found on https://umap.openstreetmap.fr/de/map/infrastructures-cyclables_930948 as well as https://umap.openstreetmap.fr/en/map/adfc-sternfahrt-2024_989494
  2. Click on one of the lines
  3. outline box appears

Expected behavior The thicker path line with full opacity is the way to highlight a path - not its bounding box.

Desktop (please complete the following information):

  • Browser Chromium Version 121.0.6167.160 (Offizieller Build) built on Debian 12.4, running on Debian 12.4 (64-Bit)

Smartphone (please complete the following information):

  • Same on Android 12 tablet
  • Browser Bromite 108.0.5359.156

Additional context I don't get, why the global outline-style: none on the map-div is ignored. ~~I'm rather sure, this is a new glitch an was working fine a few weeks ago~~ but cannot find any obvious change in the stylesheets. And I couldn't git bisect due to database migrations...?!

jschleic avatar Mar 06 '24 13:03 jschleic

And I couldn't git bisect due to database migrations...?!

Related to changing DataLayers id to uuid. Can you try bisecting starting at bfcdfdcf and previous ? Otherwise I'll have a look when my git diff is empty ;)

yohanboniface avatar Mar 06 '24 13:03 yohanboniface

Okay, the issue seems more subtle: Previous code versions look the same. But the outline border box only appears when "show labels" is set to "hidden". With this setting the tooltip is bound to the mousein / moseover / click-events and at the same time the popup opens. Maybe there is a glitch in these events?

grafik

jschleic avatar Mar 06 '24 16:03 jschleic