You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use shepherd.js on a site with a theme which uses z-index: 9999 for an element I wanted to highlight. That caused some problems with the overlay.
I now tried to set tippyOptions: {zIndex: '99999'} which changes the z-index of the popup.
The z-index of the overlay was not affected.
For example, it would be great to set z-index for the element furthest in the background (in this case they SVG overlay) and increase the z-index for the elements in front of that +1 (the popup) automatically, if not otherwise stated.
We could so always state a "safe" z-index and shepherd never sets a z-index lower than this given number.
The text was updated successfully, but these errors were encountered:
I wanted to use shepherd.js on a site with a theme which uses
z-index: 9999
for an element I wanted to highlight. That caused some problems with the overlay.I now tried to set
tippyOptions: {zIndex: '99999'}
which changes the z-index of the popup.The z-index of the overlay was not affected.
Therefore I had to change this line:
shepherd/src/js/components/shepherd-modal/styles.js
Line 14 in dbb5578
after the change, it worked fine.
Is there a way to set the general "base-"z-index?
For example, it would be great to set z-index for the element furthest in the background (in this case they SVG overlay) and increase the z-index for the elements in front of that +1 (the popup) automatically, if not otherwise stated.
We could so always state a "safe" z-index and shepherd never sets a z-index lower than this given number.
The text was updated successfully, but these errors were encountered: