angular / angular/components

Allow drag item inside drop list to be pinned

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

Description

#### Please describe the feature you would like to request.
It would be nice if we could pin some drag items inside a list, this way sorting wouldn't have any effect on these elements.

#### What is the use-case or motivation for this proposal?
If sorting is activated on a list, it does affect all drag items, including disabled ones. We can't prevent a disabled drag item to be sorted too.

#### Is there anything else we should know?

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by locating Angular's drag-and-drop list sorting behavior and determine how disabled drag items are currently handled; done should allow designated items to remain pinned while other items are sorted.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.