dragonofmercy / Tokenize2

Tokenize2 is a plugin which allows your users to select multiple items from a predefined list or ajax, using autocompletion as they type to find each item. You may have seen a similar type of text entry when filling in the recipients field sending messages on facebook or tags on tumblr.
https://dragonofmercy.github.io/Tokenize2/
BSD 3-Clause "New" or "Revised" License
83 stars 25 forks source link

zIndex is too low in some circumstances #37

Closed TomK closed 6 years ago

TomK commented 7 years ago

Consider the following example:

<html><body>
  <div style="z-index:1000">
    <div style="z-index:2">
      <select id="TOKENIZE2"></select>
    </div>
  </div>
</body></html>

The tokenize-dropdown element will be at zIndex 2 + options.zIndexMargin, and not 1000 + options.zIndexMargin.