Skip to content

Commit

Permalink
Fix step disableScrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
timonsword committed May 1, 2023
1 parent 88853fe commit 291da8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/index.js
Expand Up @@ -272,7 +272,6 @@ class Joyride extends React.Component {
const { index, lifecycle, status } = this.state;
const {
debug,
disableScrolling,
disableScrollParentFix,
scrollToFirstStep,
scrollOffset,
Expand All @@ -285,7 +284,7 @@ class Joyride extends React.Component {
if (step) {
const target = getElement(step.target);
const shouldScroll = this.shouldScroll(
disableScrolling,
step.disableScrolling,
index,
scrollToFirstStep,
lifecycle,
Expand Down

0 comments on commit 291da8e

Please sign in to comment.