Replies: 1 comment 2 replies
-
Since the markers have a grandparent with a named class ('google-map-markers-overlay'), you could do the following to target the parent |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a map rendering some Markers. Hovering over a Marker will scale the marker using a Tailwindcss style. See below:

Issue I am having is that the z-index is not being updated on the marker being hovered. Upon inspecting the element I realised the z-index is in fact being updated, but its not visually reflected because the parent component (OverlayView) has a zIndex property applied. What is the correct way of overriding the parent component's z-index without having to use state updates in the Map component which will re-render the map component on each marker hover.
Beta Was this translation helpful? Give feedback.
All reactions