Closed geniusit closed 2 years ago
Same here, added scrollbar: ["dark", "rounded"] in my config, but can't get rounded classes.
same result
Same, can't get it to work on Opera.
any news @adoxography ?
I also encountered the same problem. The query found that tailwind-scrollbar does not currently support the v3 version, but the following code can be used as a temporary solution
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #d9d9d9;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: #a0a0a0;
border-radius: 10px;
}
link: https://github.com/adoxography/tailwind-scrollbar/issues/33#issuecomment-995905844
The reason for the problem is that the 3.0+ API has changed. @adoxography
As a workaround:
Install this PR (by @JCayabyab) via npm until it get's merged officially...
npm install adoxography/tailwind-scrollbar#pull/36/head
work around by leonnicklas works great! thanks
Fix is merged into 1.3.2
, but, while revisiting it, it seems to me like rounded
never should have been a "variant" in the first place since it's not (e.g.) rounded:scrollbar-thumb
. Future releases will have an opt-in nocompatible
flag to unlock this class, since my main hesitation with including it at all was its lack of a Firefox equivalent.
Hi,
I try to use the scrollbar-thumb-rounded-full class with my React Next application.
However it doesn't render rounded on chrome as expected. As you can see :
Here is my code :
Why I don't see the rounded effect ?
Thank you