Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

82
Visualizações
How to move the scrollbar by touching on it and draging it on touch screens using javascript/jquery?

I want to move the scrollbar by touching on it and draging it on touch screens (in nest hub). Here is part my code: I have a table and the table container has got a scroll bar-

<div id="table-container" style="overflow-y: auto;">
    <table style="width:100%" id="myTable">
              
    </table>
</div>

Javascript:

if ( isTouchDevice() ) {
        document.querySelector("#table-container::-webkit-scrollbar").ontouchmove = function() {
            // some code
        }
}

This is my website https://product.thob.studio/. I inspect the website and select nest hub and then I click see more under shirt and then a modal appears and the scrollbar appears on the right side of the modal. But I am not able to drag the scroll bar vertically. This is my problem.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda