In the application, I always have a scrollbar present as a placeholder, regardless of whether it is actually functional or if there is a thumb. Checking for the visibility of a scrollbar does not provide any useful information in this case. To work around this issue, I am attempting to detect if the scrollbar is active by examining the thumb.
While using ::-webkit-scrollbar, I assumed it would be possible to check the height of the thumb. Unfortunately, this feature is not fully supported across all browsers. Are there alternative methods to determine the presence of a scrollbar thumb?