In 2020, I revisited the topic and published an updated version on my blog. However, that too has become outdated 😅 Therefore, I’ve decided to investigate the current state of scrollbar customization ...
x代表横向滚动条的位置,也就是控制左右位置,当为0时, 代表最左边,当为document.body.scrollWidth时, 代表最右边. y代表纵向滚动条的位置,也就是控制上下位置,当为0时, 代表最上面,当为document ...
Note: react-scrollbar-js ships with a good looking default appearance, so you don't need to add any css styles to start it working. Only you need is to pass dimensions via css or inline style. But you ...