angular-grid-layout icon indicating copy to clipboard operation
angular-grid-layout copied to clipboard

feature: Add CSS class for the dragged grid item animating back to it's placeholder location

Open Achilles1515 opened this issue 4 years ago • 1 comments

Similar to the CDK drag-drop library's cdk-drag-animating class...

Classes should be added to the grid and grid items for each of their different "states" - one of these being the dragged item animating back to it's placeholder location after a pointer up event.

CDK drag/drop source for inspiration: https://github.com/angular/components/blob/6eff9386b8145e4b3d50c59d353787d103d2fa8d/src/cdk/drag-drop/drag-ref.ts#L1011

Achilles1515 avatar Feb 09 '21 22:02 Achilles1515

I agree we should have this feature to correctly solve the bug: https://github.com/katoid/angular-grid-layout/issues/6

The code from angular material is totally fine IMO. As I said in #6 , do you want to do a MR with the solution? Tell me if you need some kind of information.

llorenspujol avatar Feb 10 '21 14:02 llorenspujol

Closed in https://github.com/katoid/angular-grid-layout/pull/102

llorenspujol avatar Sep 07 '23 08:09 llorenspujol