Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If helperElementPadding=0, the element overlaps the shadow which highlights it. #1702

Open
sammuell opened this issue Jun 29, 2022 · 0 comments
Labels

Comments

@sammuell
Copy link
Contributor

Description

If helperElementPadding=0, the element overlaps the shadow which highlights it.
grafik

Expected Behavior

The border should not overlap the indicator shadow.

Actual Behavior

The border of the referenced element overlaps the shadow.

It's a z-index problem (the element is in front of the shadow).

Errors and Screenshots (optional)

Example (recommended)

On the demo page use the following code:

.card {
  border-radius: 0 !important;
  border: 1px solid red;
}
introJs().setOptions({
  helperElementPadding: 0,
  steps: [{
    title: 'Welcome',
    intro: 'Hello World! 👋'
  },
  {
    element: document.querySelector('.card-demo'),
    intro: 'This step focuses on an image'
  },
  {
    title: 'Farewell!',
    element: document.querySelector('.card__image'),
    intro: 'And this is our final step!'
  }]
}).start();
@afshinm afshinm added the bug label Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants