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

158
Visualizações
Bootstrap 5: Tooltips on iPhone

I recently started using bootstrap and am struggling with the following.

I would like a tooltip to show when I initially click on the button on my iPhone, however currently, the tooltip shows for a split second and the link is followed. Is there a way to click first and show the tooltip, then click again to follow the link?

Within the body I have the following:

<script>
        const tooltips = document.querySelectorAll('.tt')
        tooltips.forEach(t => {
            new bootstrap.Tooltip(t)
        })
</script>

And the relevant button:

<span class="tt" data-bs-placement="top" title="Clients"><a href="clients.php" class="btn btn-primary"><i class="fas fa-users"></i></a></span>

I have looked through the bootstrap documentation (https://getbootstrap.com/docs/5.0/components/tooltips/) and searched for the problem online, though it is quite a difficult question to squeeze in a google search box...

Your help is much appreciated.

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