-
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
Drag drop - not dragging in the right direction when element is rotated. #14699
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jan 3, 2019
Currently we apply our own transforms after any of the user's transforms, however this can result in some weird behavior if the user defined something like `rotate`. These changes move our values to be first. Fixes angular#14699.
s2-abdo
pushed a commit
to s2-abdo/material2
that referenced
this issue
Jan 18, 2019
…ngular#14712) Currently we apply our own transforms after any of the user's transforms, however this can result in some weird behavior if the user defined something like `rotate`. These changes move our values to be first. Fixes angular#14699.
s2-abdo
pushed a commit
to s2-abdo/material2
that referenced
this issue
Jan 18, 2019
…ngular#14712) Currently we apply our own transforms after any of the user's transforms, however this can result in some weird behavior if the user defined something like `rotate`. These changes move our values to be first. Fixes angular#14699.
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
What is the expected behavior?
If the element is rotated then the dragging direction should be in the rotated element's direction
What is the current behavior?
Dragging direction is not rotated with element's direction
What are the steps to reproduce?
I can't find any way to set the dragging direction.
To reproduce the issue, just set rotation on element using
transform:rotate(90deg)
and then drag the element. It will be placed at the right place but dragging direction is wrong.Repro link: https://stackblitz.com/edit/angular-ektdw6
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I am using Angular 7.1.4 and Angular Material 7.2.0
Is there anything else we should know?
You can check the behavior from this link https://gph.is/2R1Aiyu
The text was updated successfully, but these errors were encountered: