Skip to content

Drag drop - not dragging in the right direction when element is rotated. #14699

Description

@boradakash

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

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions