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

146
Vistas
Simple way to drag and drop text into textarea on Safari

Is there a simple way to implement drag and drop for Safari or is not supported?

I've been only able to listen for events when the element is dropped to the target textarea. The main problem is I am not able to detect the exact position where the draggable text was dropped, and just works by appending it at the end of the textarea.

From this answer I managed to add the text:

Allow drag text and drop it in html input field without clearing previous data (only works on Safari)

The drag and drop is done natively somehow on Chrome and Firefox (this last one requires the entire text is selected and set to draggable). I'd like to know if there is a trick for web-kit so it just works like the Firefox trick.

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