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

Add container property to step element #1075

Closed
wants to merge 1 commit into from

Conversation

nikitamadin
Copy link

Hello, it was necessary to place step elements inside the container, so I added the elementContainer property

@@ -260,7 +260,7 @@ export class Step extends Evented {
const labelId = `${this.id}-label`;

this.shepherdElementComponent = new ShepherdElement({
target: document.body,
target: this.tour.options.defaultStepOptions.elementContainer || document.body,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is a tour property, it should go on the tour. It will also need docs and tests.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will also need docs and tests.

@rwwagner90 can you give some intro guidance as to what you'd like to see here?

@shepmaster
Copy link
Contributor

@nikitamadin do you believe you will have time to push this feature to completion? I'm looking for something similar.

@nikitamadin
Copy link
Author

@shepmaster no, sorry

@RobbieTheWagner
Copy link
Member

@shepmaster would you have the time to open a new PR finishing this? I'm a little unclear on the use case and whether this should be a tour or step option. If it should be a step option, we shouldn't use defaultStepOptions but instead step.options etc.

@stale
Copy link

stale bot commented Sep 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 19, 2020
@RobbieTheWagner
Copy link
Member

@shepmaster thoughts on continuing this?

@RobbieTheWagner
Copy link
Member

Closed by #1176

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

Successfully merging this pull request may close these issues.

3 participants