Skip to content

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

Merged
RobbieTheWagner merged 1 commit intoshipshapecode:masterfrom
zefj:remove-click-disabled-on-step-hide
Oct 9, 2020
Merged

Remove shepherd-target-click-disabled class on step hide#1189
RobbieTheWagner merged 1 commit intoshipshapecode:masterfrom
zefj:remove-click-disabled-on-step-hide

Conversation

@zefj
Copy link
Copy Markdown
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 shipshapecode: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.

2 participants