Skip to content
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

feat(cdk/drag-drop): allow for preview container to be customized #21830

Merged
merged 1 commit into from
Feb 12, 2021

Commits on Feb 7, 2021

  1. feat(cdk/drag-drop): allow for preview container to be customized

    Currently we always insert the drag preview at the `body`, because it allows us to avoid
    dealing with `overflow` and `z-index`. The problem is that it doesn't allow the preview to
    retain its inherited styles.
    
    These changes add a new input which allows the consumer to configure the place into
    which the preview will be inserted.
    
    Fixes angular#13288.
    crisbeto committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    05551d0 View commit details
    Browse the repository at this point in the history