-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cdk/drag-drop): pointer position calculation for SVG with viewBox (…
…#19863) * fix(cdk/drag-drop): pointer position calculation for SVG with viewBox Fixes a bug in the Angular Material `drag-drop` component where the pointer position is incorrectly calculated for SVG with viewBox. This is because mouse coordinates retrieved using the screen coordinate system, but coordinates must be in SVG space, which is defined by the viewBox attribute. * save ownerSVGElement in a property
- Loading branch information
Showing
2 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters