ngx-ui-tour icon indicating copy to clipboard operation
ngx-ui-tour copied to clipboard

Disable Hotkeys for interactive steps with disabled next button

Open ChrTall opened this issue 2 years ago • 1 comments

I have created a really nice guided tour with your library, thanks a lot. I have some steps in my tour, which I call interactive steps. To progress in these steps the user has to click on highlighted UI Elements in order to progress in the guided tour. The Next button is hidden for these steps. It would be great if there were properties in the IStepOption interface to disable certain hotkeys for a step. Right now the user can press the next button to progress without clicking on the UI Element.

ChrTall avatar Jun 25 '22 04:06 ChrTall

Right now you can manually call tourService.disableHotkeys() to disable hotkeys, but it might be a good idea to automatically disable hotkeys when goToNextOnAnchorClick is enabled and allow user to disable hotkeys for certain steps.

hakimio avatar Jun 26 '22 09:06 hakimio

This has been implemented in v9 release.

hakimio avatar Sep 02 '22 09:09 hakimio