-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(CDK): The cursor should always be forbidden for dragging disabled items. #27242
Comments
The behavior you're seeing isn't from the CDK, it's from your browser. The thing you're dragging on step 4 of your reproduction is not the drag item at all, it's the text you highlighted in step 2, and the cursor changing is your browser's behavior. It works exactly the same on all text elements, regardless of whether they use CDK drag/drop. |
* docs(cdk/drag-drop): fix cursor for disable drag fixes #27242 * fixup! docs(cdk/drag-drop): fix cursor for disable drag
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
* docs(cdk/drag-drop): fix cursor for disable drag fixes angular#27242 * fixup! docs(cdk/drag-drop): fix cursor for disable drag
Is this a regression?
The previous version in which this bug was not present was
No response
Description
The cursor should always be forbidden for dragging disabled items.
Media1.mp4
Reproduction
Reproduce link: https://material.angular.io/cdk/drag-drop/overview#disabled-dragging
Steps to reproduce:
Expected Behavior
The cursor should always be forbidden for dragging disabled items.
Actual Behavior
The cursor is a pointer when dragging the dragging disabled items sometimes.
Environment
The text was updated successfully, but these errors were encountered: