2

I am using LinkedIn's Hopscotch framework for a tutorial, and implemented this onStart of the tour to move between tour steps using the left and right arrow keys: Keyboard support to navigate between steps

The function works fine, but when the tour ends or is closed midway, a left and right arrow button press gives this error: Uncaught TypeError: Cannot read property ‘nextOnTargetClick’ of null … at a.nextStep

It looks to me like the tour's onStart() is always active even after the tour ends. Any advice on eliminating this error?

valangar
  • 151
  • 1
  • 7

0 Answers0