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(DragDrop): DragDrop started to be draggable outside of it's zone #19919
Comments
I think it may be resolved by #19559 which was merged in yesterday. |
@laserus let us know if this is fixed in the next patch release |
@jelbourn will you release also new version of 9 with this patch? or it will be only 10? |
We don't plan on publishing any further 9.x releases unless there's some major bug (security, browser compatibility, etc.) |
@crisbeto Is recent release includes the fix? I quickly tried it, and have got an error: |
@jelbourn I think in 10. There is worse bug was introduced, please check the previous message and example. I also tried your stackblitz example, https://stackblitz.com/edit/components-issue-l3lbs5 Normally, I do not upgrade project to the latest majors, because of unexplored bugs. It would be cool to add such fix to 9.x. |
@laserus the error is because you've set Does it work if you move the
|
This came up from angular#19919, although it's not the root cause. We were disabling the native drag interactions on the handle element in two places which is redundant. These changes remove one of them and add a unit test since we were missing coverage.
@crisbeto @laserus |
Yes, it seems that it is solved now. Thanks |
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. |
Reproduction
New feature/bug appeared in version 9.
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-nd8jwz-ochxmy?file=src%2Fapp%2Fmodal-basic.module.ts
Steps to reproduce:
Expected Behavior
Previously, with version 8.1.4 only modal-header was place which allowed to drag modal and nothing prevented from modal-body selecting and interacting with mouse.
Actual Behavior
What behavior did you actually see?
I cannot select any text, or any input, as the whole modal is moving, although cdkDrag attached only to header and modal-dialog used only for pointer to modal which is movable by header dragging.
Environment
"@angular/animations": "~9.1.11",
"@angular/cdk": "~9.2.4",
"@angular/common": "~9.1.11",
"@angular/compiler": "~9.1.11",
"@angular/core": "~9.1.11",
"@angular/forms": "~9.1.11",
"@angular/localize": "^9.1.11",
"@angular/platform-browser": "~9.1.11",
"@angular/platform-browser-dynamic": "~9.1.11",
"@angular/router": "~9.1.11",
"core-js": "^2.6.7",
"ts-helpers": "^1.1.2",
"tslib": "^1.10.0",
"web-animations-js": "^2.3.2",
"zone.js": "~0.10.2"
The text was updated successfully, but these errors were encountered: