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

124
Vistas
What might block focus event on click?

I have an Angular component based on contenteditable="true" div. When I use the component directly in the app it works fine - on click caret displays there, div is focused and I can type some text.

The problem is when I use the component inside external lib surface (inside <jsplumb-surface></jsplumb-surface>). Somehow focus is blocked on the click. It's possible to focus on the div by executing div.focus() method (handling click event), but the problem is that caret position is then lost. The tabindex attribute is set and focus on tab click also works.

I assume that jsPlumb somehow blocks the focus pm click event but I don't have any idea how. What could be the potential cause and how can I handle it?

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