-
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 and drop - spacing gets messed up #13483
Comments
Might be related to this issue: When cdkDrag items in a cdkDropList have different heights the elements animate to a wrong position on drop and the previews are rendered wrong just as in the example above. |
… margins Currently the `CdkDropList` makes some assumptions about the items not having a margin between each other. It also won't lay out and animate items with varying heights, in some cases. The following changes rework the directive to allow it to handle both varying heights and different margins. Fixes angular#13483.
… margins Currently the `CdkDropList` makes some assumptions about the items not having a margin between each other. It also won't lay out and animate items with varying heights, in some cases. The following changes rework the directive to allow it to handle both varying heights and different margins. Fixes angular#13483.
… margins (#13849) Currently the `CdkDropList` makes some assumptions about the items not having a margin between each other. It also won't lay out and animate items with varying heights, in some cases. The following changes rework the directive to allow it to handle both varying heights and different margins. Fixes #13483.
… margins (angular#13849) Currently the `CdkDropList` makes some assumptions about the items not having a margin between each other. It also won't lay out and animate items with varying heights, in some cases. The following changes rework the directive to allow it to handle both varying heights and different margins. Fixes angular#13483.
… margins (#13849) Currently the `CdkDropList` makes some assumptions about the items not having a margin between each other. It also won't lay out and animate items with varying heights, in some cases. The following changes rework the directive to allow it to handle both varying heights and different margins. Fixes #13483.
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. |
Bug, feature request, or proposal:
Please see current behavior
What is the expected behavior?
Spacing of preview element and current elements in the list should not get messed up
What is the current behavior?
What are the steps to reproduce?
StackBlitz
What is the use-case or motivation for changing an existing behavior?
Fix spacing issues
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
7.0.0-rc.0
The text was updated successfully, but these errors were encountered: