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

Remove shepherd-target-click-disabled class on step hide #1189

Merged

Conversation

zefj
Copy link
Contributor

@zefj zefj commented Oct 8, 2020

Hey, this fixes an issue where the shepherd-target-click-disabled class is not removed from the highlight target after a step is hidden. While shepherd-active and shepherd-target classes are correctly removed on step hide, the shepherd-target-click-disabled is not. shepherd-target-click-disabled is only removed when the tour completes.

This problem prevents touring the same element twice, where in one step it's not clickable, and in the other it is. See the repro: https://codesandbox.io/s/practical-ives-9j6u9

@RobbieTheWagner RobbieTheWagner merged commit 4819fb7 into shepherd-pro:master Oct 9, 2020
@zefj zefj deleted the remove-click-disabled-on-step-hide branch October 16, 2020 11:16
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.

None yet

2 participants