We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

z-index doesn't work with google map API

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by serejajar

more options

in this example map element stretched in full screen, we have 2 translucent blocks 'citylist' and 'menu' which overlap each other. Each unit has a hover, which changes background color to red when 'clicked'. The example shows that if the "click" on the intersection of two blocks change the background does not happen, although is crossing works.

If you remove the library from Google Maps, it all works.

Tested on several desktop browsers, and several phones. This problem is present only in the mobile browser version.

in this example map element stretched in full screen, we have 2 translucent blocks 'citylist' and 'menu' which overlap each other. Each unit has a hover, which changes background color to red when 'clicked'. The example shows that if the "click" on the intersection of two blocks change the background does not happen, although is crossing works. If you remove the library from Google Maps, it all works. Tested on several desktop browsers, and several phones. This problem is present only in the mobile browser version.

Modified by serejajar

All Replies (1)

more options

Modified by serejajar