Sideshow is a powerful javascript library which aims to reduce your user's learning curve by providing a way to create step-by-step interactive tours. Explain the features of your application, control your end-user's interaction with your UI, emphasize what you're explaining in each step by masking it. Just think! The sky is the limit!
This may be by design, but it caught me off guard.
I set up some DOM state in the beforeStep and need it to be torn down for the site to function properly again when it is finished. It works great as long as the user completes the step / wizard. If they hit the Sideshow close button during that step however, the afterStep listener isn't called and my teardown doesn't happen.
If this is by design, please let me know the best way I should clean up after my step.
Thanks!
PS: My actual use-case is injecting an embedded youtube video that is the subject of the step. If they close out of sideshow, the element remains while it should have been removed as part of the tour.
This may be by design, but it caught me off guard.
I set up some DOM state in the
beforeStep
and need it to be torn down for the site to function properly again when it is finished. It works great as long as the user completes the step / wizard. If they hit the Sideshow close button during that step however, theafterStep
listener isn't called and my teardown doesn't happen.If this is by design, please let me know the best way I should clean up after my step.
Thanks!
PS: My actual use-case is injecting an embedded youtube video that is the subject of the step. If they close out of sideshow, the element remains while it should have been removed as part of the tour.