react-scrollbar
react-scrollbar copied to clipboard
Great work BUT what's up with the speed prop?
Your plugin is great and would have been ideal for my needs but I don't understand why you have the speed prop. The scrollbar always scrolls past where I want to scroll because of the speed animation prop. And surprisingly, you I can't turn off this feature.
I want (and I can only assume others do as well) native scroll behaviour but with a nice style.
Hey @lucidlive, Thanks for giving me an issue. Have you tried to change the transitions properties via css?
You can easily change it to be transition: none;
. The transition/animation is caused by the .scrollbar react-scrollbar-transition
class. You can modify it and it has been mentioned in the documentation section. Check it out.
https://github.com/BosNaufal/react-scrollbar#customizing-the-appearance
If I have a misunderstanding about your problem, please let me know.
Hey @BosNaufal - yeah, I set the transition to none but you have something that is programmatically changing the scroll position in a timed way. Instead of it just instantly changing the scroll position as you scroll, the dom element is slow changing X/Y position for a couple seconds after you finish scrolling.
I'm having the same issue and i think its related to the fact that the position is depending upon the state.
Hi!
Maybe you need to provide more details about it?
I tryed to reproduce it with doc/examples/custom but everything works properly:
the speed effects only when you use a mouse wheel
and if you don't need transitions you can simply remove scrolling
section from your css
Do you have any issues with this examples?