From 291da8ed1334a1bb642bdff5922cb7dc09629953 Mon Sep 17 00:00:00 2001 From: Krzysztof Paczuski <46558640+timonsword@users.noreply.github.com> Date: Mon, 1 May 2023 06:36:45 +0200 Subject: [PATCH] Fix step disableScrolling --- src/components/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/index.js b/src/components/index.js index e7cf4c65..d9fcb4b0 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -272,7 +272,6 @@ class Joyride extends React.Component { const { index, lifecycle, status } = this.state; const { debug, - disableScrolling, disableScrollParentFix, scrollToFirstStep, scrollOffset, @@ -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,