enyo / opentip

Opentip is an open source javascript tooltip based on the protoype framework.
http://www.opentip.org
1.25k stars 401 forks source link

Incrementing gloabl z-index can cause issues #132

Open brian-clariture opened 8 years ago

brian-clariture commented 8 years ago

Incrementing the global z-index value (https://github.com/enyo/opentip/blob/4913cbf1f543609a009d36f9bbc72f3f110d1ab9/lib/opentip.js#L507) was causing some problems for us. We load a lot of tips and the z-indices were getting out of control. I'd propose at the very least making this optional. For our use case, which I don't think is uncommon, a single z-index for all tips is preferred.