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

159
Vistas
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 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