-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/drag-drop
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
cdkDropListSortPredicate
doesn't work in certain senarios
Reproduction
StackBlitz link: https://stackblitz.com/edit/z6ffpx7e-wg8uidxw?file=src%2Fexample%2Fcdk-drag-drop-connected-sorting-group-example.html
Steps to reproduce:
- Open StackBlitz reproduction link
- The code has
cdkDropListSortPredicate
applied to "Done" dropzone, the intention is preventing item being dragged to the first index - Drag item from "To do" zone and enter "Done" zone from top
Expected Behavior
Item cannot be dragged & dropped to the first index in "Done"
Actual Behavior
Item can be dragged & dropped to the first index in "Done"
Environment
- Angular: 19.0.0
- CDK/Material: 19.0.0
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
spockoyno
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/drag-drop