Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

241
Vistas
How to check if scrollbar thumb is visible? (part of scrollbar that gets dragged around)

For my application, the scrollbar is always present as a placeholder -- whether or not it is actually functional (or if a thumb exists). As a result, checking if a scrollbar is visible does not help. To get around this, am trying to detect if the scrollbar is active by checking the thumb.

With ::-webkit-scrollbar, would assume it is possible to check the thumb's height. However, it is not fully supported across browsers. Is there another way to check for the presence of a scrollbar thumb?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can check if scrollHeight is bigger than clientHeight , then we know the scrollbar would be shown since there would be overflow the container element holding.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda