-
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
feat(drag-drop): support scrolling parent elements apart from list and viewport #18082
feat(drag-drop): support scrolling parent elements apart from list and viewport #18082
Conversation
a0d9d94
to
e62fa20
Compare
…d viewport Currently for performance reasons we only support scrolling within the drop list itself or the viewport, however in some cases the scrollable container might be different. These changes add a new input that consumers can use to tell the CDK which other parents can be scrolled. Fixes angular#18072. Relates to angular#13588.
e62fa20
to
4495b36
Compare
I've reworked it to use Also one caveat is that people would have to remember to import the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for this change, though I think you're right that it would be better to have a module exclusively for CdkScrollable
. I'll leave it up to you whether you want to do that in this PR or in a follow-up. We'll also want to do a follow-up for docs on this use of CdkScrollable
I'll add the separate module in a different PR since it should be easier to land. |
…d viewport (angular#18082) Currently for performance reasons we only support scrolling within the drop list itself or the viewport, however in some cases the scrollable container might be different. These changes add a new input that consumers can use to tell the CDK which other parents can be scrolled. Fixes angular#18072. Relates to angular#13588.
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. |
Currently for performance reasons we only support scrolling within the drop list itself or the viewport, however in some cases the scrollable container might be different.
Fixes #18072.
Relates to #13588.