Open
Description
When pressing the left arrow key on the first step of a tour, the tour is destroyed. I think this should not be possible, because this behavior is different to the button navigation, which disables the "Previous" button on the first step.
It also ignores the allowClose
configuration option. So, a tour that should not be closed by the user unless you reach the end can still be closed immediately if keyboard navigation is enabled.
The reason for this behavior is that the movePrevious
function destroys the tour if there is no previous step, and there are no checks for preventing this in the handleArrowLeft
function.
Line 93 in 1a36d65
Metadata
Metadata
Assignees
Labels
No labels