unovis icon indicating copy to clipboard operation
unovis copied to clipboard

Unoviz 1.5.1 breaks Leaflet 1.9.4 path layer due to z-index

Open is-already-taken opened this issue 8 months ago • 0 comments

When adding Unoviz 1.5.1 to a project using Leaflet 1.9.4 it breaks the path rendering by defining z-index: 1, which overrides a higher z-index value of Leaflet.

Result: paths are not visible.

Problematic style: https://github.com/f5/unovis/blob/1.5.1/packages/ts/src/components/leaflet-map/leaflet.css#L96

It was globally injected from here: https://github.com/f5/unovis/blob/1.5.1/packages/ts/src/components/leaflet-map/style.ts#L9

You should not do that or use more specific selectors or allow consumers to disable the Leaflet functionality.

Image

is-already-taken avatar Apr 19 '25 08:04 is-already-taken