Description
enterPridicate is called on every cdkDropList on dragMove.
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
working
Not working
Steps to reproduce:
- Drag and drop the box.
- Check log in console window
Expected Behavior
What behavior were you expecting to see?
- I was expecting enterPredicate to only work on the drop target cdkDropList when dragging and dropping.
Actual Behavior
What behavior did you actually see?
- Only the drop target cdkDropList does not work and enterPredicate is called on all cdkDropLists.
- cdk 7.1.1 will work as intended, but 8.2.0 will not work as intended.
Environment
- Angular: 8.2,0
- CDK/Material: 8.2.0
- Browser(s): chrome
- Operating System (e.g. Windows, macOS, Ubuntu): ubuntu 19.04