Skip to content

Z-Index Issues #521

@dipiana

Description

@dipiana

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions