-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: cdk/drag-dropfirefoxThis issue is specific to the Firefox browserThis issue is specific to the Firefox browser
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
Hello,
There is a problem with Drag and Drop examples from https://material.angular.io/cdk/drag-drop/overview when a parent component is encapsulated with Shadow DOM on Firefox: it selects text of other elements (cf video).
dnd.mp4
I tested it with the "Drag&Drop connected sorting" example from version 14 to 17.
The bug exists in all versions (I did not try older versions).
Thank you,
Xavier
Reproduction
StackBlitz link (under v14): https://stackblitz.com/edit/gszzna?file=src%2Fapp%2Fcdk-drag-drop-connected-sorting-example.ts
Steps to reproduce:
- Drag and drop the last item from the Left list to the Right list
Expected Behavior
Drag and dropping an item should not select text.
Actual Behavior
Drag and dropping an item selects text.
Environment
- Angular: at least all versions from 14 to 17
- CDK/Material: at least all versions from 14 to 17
- Browser(s): Firefox 124.0.1 (64 bits) (latest version)
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 11
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: cdk/drag-dropfirefoxThis issue is specific to the Firefox browserThis issue is specific to the Firefox browser