angular / angular/components

Change event on drag start (if delayed dragging, it should fire when the delay is elapsed)

Abierto
#16,551 7 comentarios 15 reacciones 0 asignados Ver en GitHub
area: cdk/drag-drop feature P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

#### Feature Description

Currently the started event on CdkDrag fires when the user starts to press on the element. Now with the dragStartDelay, it should fire after the delay if it hasn't been cancelled.

#### Use Case

I would like to trigger a vibration or a haptic feedback when the the dragged element starts to drag after the cdkDragStartDelay. Currently it's not possible to synchronize both of them accuratly without doing some hacks.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con el CdkDrag started event y el comportamiento de dragStartDelay descritos en el issue. Traza cuándo se dispara actualmente el evento y verifica que solo se dispare después de que haya transcurrido el retraso, a menos que se cancele el drag; confirma que la temporización permite una respuesta háptica sincronizada.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.