usablica / intro.js

Lightweight, user-friendly onboarding tour library
http://introjs.com
Other
22.79k stars 2.59k forks source link

Is there any way to delay nextStep when user press 'enter' or 'right-arrrow' button? #1994

Closed haola1210 closed 6 months ago

haola1210 commented 1 year ago

Description

I'm creating a tour for some dynamic contents, such as opening a modal then showing steps on it or a tour on multiple pages. It works as expected when I click the next button. But when I press enter so fast, it shows up messed up. I think if I can set a delay for executing the nextStep when keydown, my issue will be resolved

image

Environment (optional)

intro.js-react, Reactjs

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.