angular / angular/components

[cdkDrag] Dragging freezes when mouse over on a disabled button

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

Description

#### What is the expected behavior?

Element should be smoothly dragged over but dropping of an element should be blocked as it's a disabled button.

#### What is the current behavior?

Dragging freezes over a disabled button.

#### What are the steps to reproduce?

Here is the link of [Slackblitz demo](https://stackblitz.com/edit/angular-kbdjsa).

Contributor guide

Open the contributing guide

Research direction

Start with the linked StackBlitz reproduction and trace the cdkDrag behavior when the pointer passes over a disabled button. Confirm the existing drag-and-drop entry points and tests before changing anything. Done means dragging remains smooth over the button while dropping on it stays blocked.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.