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

Fix overlay not shown after tour complete/cancelled #1237

Closed
wants to merge 1 commit into from

Conversation

Rzr7
Copy link

@Rzr7 Rzr7 commented Nov 11, 2020

Overlay is not appearing again if tour was completed/cancelled.

Bug reproduction steps:

  1. Start tour with useModalOverlay: true option
  2. Complete tour
  3. Try to show any step using tour.show()

Solution:

If modal container removed - remove modal object too. Otherwise modal container not appearing again.

@RobbieTheWagner
Copy link
Member

@Rzr7 I don't think we intended to be able to call show without calling start first. You would bypass a lot of logic that way.

@Rzr7
Copy link
Author

Rzr7 commented Nov 11, 2020

@Rzr7 I don't think we intended to be able to call show without calling start first. You would bypass a lot of logic that way.

I was calling show using dropdown "help" list, so I was needed to show only one tour step.

@RobbieTheWagner
Copy link
Member

@Rzr7 I believe instead of your changes we should do this._setupModal(); on show if the modal doesn't already exist or something. Basically making sure all the logic from start gets called if show is called before start for some reason.

@stale
Copy link

stale bot commented Dec 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.

@chuckcarpenter
Copy link
Member

@rwwagner90 this is an edge case and getting stale. I suggest we close it and happy to take a new PR based on your suggestions if @Rzr7 would like.

@RobbieTheWagner
Copy link
Member

@chuckcarpenter I did take a look at implementing a fix for this and didn't fully have the time to devote to it. Would love to work with you and/or @xiwcx and see if we can come up with a good fix.

@stale
Copy link

stale bot commented Feb 27, 2021

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
Copy link

stale bot commented Jun 9, 2021

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 Jun 9, 2021
@stale stale bot closed this Jun 16, 2021
@stale stale bot removed the wontfix label Jun 17, 2021
@stale
Copy link

stale bot commented Jul 21, 2021

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 Jul 21, 2021
@stale stale bot removed the wontfix label Jul 28, 2021
@stale
Copy link

stale bot commented Oct 2, 2021

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 Oct 2, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

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.

@chuckcarpenter
Copy link
Member

fixed by #2793

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

Successfully merging this pull request may close these issues.

4 participants