-
Notifications
You must be signed in to change notification settings - Fork 84
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
Scroll two slides at once #30
Comments
I have the same problems! |
Hi @julianStreibel what browser did u use? Just tried on mac - everything works fine both in chrome and safari, it scrolls as it should, can u provide the demo screen recording? |
@julianStreibel I understood u incorrectly first time. I've renamed the name of the task. Yes, I'm aware of the problem and hadn't solve it yet. |
@VikLiegostaiev The issue is because the scrolling event of a macbook trackpad is over 200 milliseconds, which is what is set as the |
Any movement on this? Is there a temporary fix in the mean while? |
I'm using this workaround. Blocking scroll up/down import { useState } from 'react'
import ReactPageScroller from 'react-page-scroller'
const YouComponent = () => {
const [blockScroll, setBlockScroll] = useState(false)
return (
<ReactPageScroller
blockScrollUp={blockScroll}
blockScrollDown={blockScroll}
onBeforePageScroll={() => setBlockScroll(true)}
pageOnChange={() => {
const timeout = setTimeout(() => {
setBlockScroll(false)
clearTimeout(timeout)
}, 750)
}}
>
<Page1 />
<Page2 />
<Page3 />
<Page4 />
</ReactPageScroller>
)
} |
Any movement on this? Is there a temporary fix in the mean while? |
Hi, Im having an issue with scrolling.
When I scroll on my Phone everything works fine.
On my Mac I can't scroll as usually because it scrolls two sides.
When I scroll just very little everything works fine.
The text was updated successfully, but these errors were encountered: