bug(Drag and Drop): Unable to hide placeholder
Open
area: cdk/drag-drop
P4
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
#### Reproduction
https://stackblitz.com/edit/angular-rqnoae?file=src/app/cdk-drag-drop-sorting-example.css
Steps to reproduce:
1. set **display:none** in **.cdk-drag-placeholder**
#### Expected Behavior
Moving item should not take space in list
#### Actual Behavior
There is a small white space in list
Contributor guide
Research direction
Start with the linked StackBlitz reproduction and inspect the Angular CDK drag-and-drop behavior around the .cdk-drag-placeholder rule. Confirm how display:none is handled while moving an item, then verify that the item no longer leaves white space in the list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, css, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100