Does anyone know how to make the scroll thumb always visible? overflow: scroll
only shows the tracks. I am currently using react if that changes anything.
You can customize the scrollbar thumb for the webkit browsers so the the scroll thumb will have a custom style and it will be always visible. You can use the following CSS pseudo selectors -
::-webkit-scrollbar
::-webkit-scrollbar-thumb
You can check this guide for more details.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.