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

Only focus if scrolling is not disabled

Open MikeShi42 opened this issue 2 years ago • 1 comments

Fixes https://github.com/gilbarbara/react-joyride/issues/817

This changes so that the Scope does not auto-focus unless scrollToFirstStep is set to true and disableScrolling is not false. This may or may not be desirable behavior, but it wasn't clear to me what would be the right thing to do.

Additionally, changes husky pre-commit to find commands from the local node_modules bin folder, for some reason on my Mac it was not able to find lint-staged. Not sure if that's just a me issue or a general issue.

MikeShi42 avatar Jun 25 '22 06:06 MikeShi42

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 932c9a8cf2366172f1cf323e09aedc5e76e883ab:

Sandbox Source
React Configuration

codesandbox-ci[bot] avatar Jun 25 '22 06:06 codesandbox-ci[bot]

Fixed in 2.7.2 Thanks

gilbarbara avatar Dec 23 '23 17:12 gilbarbara