Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only focus if scrolling is not disabled #818

Closed
wants to merge 1 commit into from

Conversation

MikeShi42
Copy link

@MikeShi42 MikeShi42 commented Jun 25, 2022

Fixes #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.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 25, 2022

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 932c9a8:

Sandbox Source
React Configuration

@gilbarbara
Copy link
Owner

Fixed in 2.7.2
Thanks

@gilbarbara gilbarbara closed this Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamically mounting Joyride causes scrolling even if scrolling is disabled in props
2 participants