angular / angular/components

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

Open
#16,551 7 comments 15 reactions 0 assignees View on GitHub
area: cdk/drag-drop feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### 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.

Contributor guide

Open the contributing guide

Research direction

Start from the CdkDrag started event and the dragStartDelay behavior described in the issue. Trace when the event currently fires and verify that it fires only after the delay has elapsed, unless the drag is cancelled; confirm the timing supports synchronized haptic feedback.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.