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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

z-index doesn't work with google map API

  • 1 freagra
  • 1 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó 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.

Athraithe ag serejajar ar

All Replies (1)

more options

Athraithe ag serejajar ar