shepherd icon indicating copy to clipboard operation
shepherd copied to clipboard

Fix overlay not shown after tour complete/cancelled

Open Rzr7 opened this issue 4 years ago • 11 comments

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.

Rzr7 avatar Nov 11 '20 12:11 Rzr7

@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.

RobbieTheWagner avatar Nov 11 '20 17:11 RobbieTheWagner

@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.

Rzr7 avatar Nov 11 '20 20:11 Rzr7

@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.

RobbieTheWagner avatar Nov 16 '20 17:11 RobbieTheWagner

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[bot] avatar Dec 19 '20 07:12 stale[bot]

@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.

chuckcarpenter avatar Dec 31 '20 17:12 chuckcarpenter

@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.

RobbieTheWagner avatar Jan 01 '21 20:01 RobbieTheWagner

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[bot] avatar Feb 27 '21 22:02 stale[bot]

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[bot] avatar Jun 09 '21 22:06 stale[bot]

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[bot] avatar Jul 21 '21 00:07 stale[bot]

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[bot] avatar Oct 02 '21 01:10 stale[bot]

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[bot] avatar Apr 16 '22 05:04 stale[bot]

fixed by #2793

chuckcarpenter avatar May 11 '24 04:05 chuckcarpenter