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

Wrong shepherd modal placement within Angular Material Dialogs #2342

Open
atinary-ndefago opened this issue Aug 14, 2024 · 0 comments
Open

Comments

@atinary-ndefago
Copy link

Hello,

I am having an issue using Angular Material Dialogs:

image

As you can see the Shepherd modal is not attached to the highlighted button

Here's the step code:

      attachTo: {
          element: '#start-campaign',
          on: 'right',
      },

This is the only element in my page with this id (start-campaign):
image

I am using "angular-shepherd": "^17.0.0", I also tried to override the shepherd.js version to the latest ("shepherd.js": "^11.2.0",) but that did not help

The weird thing is, it works for all the other Material Dialogs I am using

As of now, I fixed it using a custom classes in my step and with a margin-top: 80px

Just wanted to let you know, if you have any idea of how I could fix this or why this is happening ? that would be much appreciated!
thank you!

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

1 participant