-
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
Option to inherit dimensions when using *cdkDragPreview #18177
Closed
JohnKis opened this issue
Jan 15, 2020
· 1 comment
· Fixed by #18362, lingounet/testage#9, hrueger/AGLight#112 or hrueger/AGLight#114
Closed
Option to inherit dimensions when using *cdkDragPreview #18177
JohnKis opened this issue
Jan 15, 2020
· 1 comment
· Fixed by #18362, lingounet/testage#9, hrueger/AGLight#112 or hrueger/AGLight#114
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 1, 2020
…m preview By default we don't resize custom previews, because we'd have to make assumptions about what the consumer wants to show. These changes add the `matchSize` input which allows the consumer to opt into matching the custom preview size to the dragged element size. Fixes angular#18177.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 9, 2020
…m preview By default we don't resize custom previews, because we'd have to make assumptions about what the consumer wants to show. These changes add the `matchSize` input which allows the consumer to opt into matching the custom preview size to the dragged element size. Fixes angular#18177.
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.
Feature Description
Add an option to inherit the dimensions (width, height) of the draggable element when using a custom preview template.
Use Case
It would be really useful in cases where the custom preview element is similar to the source element.
The text was updated successfully, but these errors were encountered: