plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

mapbox attribute control toggle, wrong styling

Open birkskyum opened this issue 1 year ago • 5 comments
trafficstars

mapbox plots like mapbox_scattercluster appear to have issues with the little attribution icon in the lower right

Present here: https://plotly.com/python/mapbox-layers/

Present in older builds, before merging maplibre. I checked out an earlier commit, and it seems like this appear before the MapLibre merger as well locally.

Mapbox:

Screenshot 2024-08-09 at 16 04 24 Screenshot 2024-08-09 at 16 08 35 Screenshot 2024-08-09 at 16 08 30 Screenshot 2024-08-09 at 12 40 53 Screenshot 2024-08-09 at 12 42 06

MapLibre:

Screenshot 2024-08-09 at 12 41 59 Screenshot 2024-08-09 at 12 42 33

Related

  • #7075

birkskyum avatar Aug 09 '24 14:08 birkskyum

Using the codepen from here i find this issue is Present from plotly.js version 2.28.0 and forward.

2.28: Screenshot 2024-08-09 at 16 39 19 Screenshot 2024-08-09 at 16 41 21

2.27: Screenshot 2024-08-09 at 16 39 12 Screenshot 2024-08-09 at 16 41 51

birkskyum avatar Aug 09 '24 14:08 birkskyum

Likely related to #6782.

archmoj avatar Aug 09 '24 15:08 archmoj

Using the .css from mapbox-gl 1.13.3 looks like this:

Screenshot 2024-08-09 at 17 11 58 Screenshot 2024-08-09 at 17 11 54

birkskyum avatar Aug 09 '24 15:08 birkskyum

@ndrezn Should one try to fix this new bug in mapbox?

archmoj avatar Aug 27 '24 00:08 archmoj

I think this is low priority and we might not need to fix at all as we're deprecating these traces and the MapLibre traces will be unaffected.

ndrezn avatar Aug 27 '24 01:08 ndrezn