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

The joyride appears behind ngbModal #412

Open
JCardox115 opened this issue Jul 7, 2021 · 2 comments
Open

The joyride appears behind ngbModal #412

JCardox115 opened this issue Jul 7, 2021 · 2 comments

Comments

@JCardox115
Copy link

When I try to start the tour from a modal, the joyride dialog appears behind the modal.

  1. Open the modal

  2. Inside the modal, I click on the button that executes the startTour() event;
    this.joyrideService.startTour( { customTexts: { next: '>>', prev: '<<', done: 'Ok' }, steps: ['firstStep'], showPrevButton: false, stepDefaultPosition: 'bottom' } );

  3. ngx-JoyRide appears behind the modal.

Expected behavior
the joyRide is expected to appear within the modal

Screenshots
image

Details (please complete the following information):

  • Browser Chrome, I've tried on Angular 9 and 10
@quintonloges
Copy link

I also had an issue with the joyride appearing behind a modal. I was able to increase the z-index of the element to get it working. In my case, 1001 was enough. It might be more or less for others.

.backdrop-container {
  z-index: 1001 !important;
}

@Vivek2998
Copy link

I also had an issue with the joyride appearing behind a modal.
I was able to solve this issue by increasing the z-index of the element where the joyride content appears . In my case, 1200 was enough. It might be more or less for you try by increasing the z-index.

.joyride-step__holder {
z-index: 1200 !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants