How do you set smooth scrolling? #4877
-
Hi,
and like I said, I tried the $blockScrolling but this didn't work. But I think this might also be outdated because I don't see it referenced in this repos code (might have been on an old repo I saw this on from my search results of trying to fix this). I will try on a sandbox some point this week when I am not busy, but if anyone knows in the meantime I'd appreciate the help, thanks! I set up a sandbox here - https://codesandbox.io/s/condescending-water-s0wws7?file=/src/App.js let me know if there are issues with the link. I see the scrolling is still in blocks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
But what exactly do you mean by "smooth scrolling"? |
Beta Was this translation helpful? Give feedback.
$blockScrolling
is an internal private variable that should not be changed.There is an
animatedScroll
optioneditor.getOption("animatedScroll", true)
which controls the behavior of scrolling during large jumps likectrl-home
/ctrl-end
.But what exactly do you mean by "smooth scrolling"?