ng-joyride icon indicating copy to clipboard operation
ng-joyride copied to clipboard

request to make joyride less sensitive to bad config

Open steve-tapley opened this issue 11 years ago • 3 comments

Hi, A couple of times I've set up joyride with misconfigured config (eg a bad/mistyped element name). When the user happens to get to the step, joyride just stops working - the curtain is down, but the user has no way of recovering out of the joyride (unless they F5)

You can see this in the plunkr: http://plnkr.co/edit/Yn7cqL8IpR1VoL1ky65R

I could see this happening on a largish project where element ids change, and the tour is mistakenly not updated.

Can I make a suggestion that for misconfigured configs, that ng-joyride either end the tour, or skip the step?

Thanks, Steve

steve-tapley avatar Mar 27 '15 05:03 steve-tapley

Makes sense. While it might be difficult to make it resilient from all sorts of bad config errors.It might make sense to skip for elements that are not present.

abhikmitra avatar Mar 29 '15 08:03 abhikmitra

+1 for this enhancement. Skipping a missing element rather than getting stuck would be a great feature.

tim-stefanski avatar Apr 27 '15 03:04 tim-stefanski

@abhikmitra Could you please tell me how to include this as I am getting error if in case ID is not found

learner972 avatar Dec 31 '15 09:12 learner972