-
Notifications
You must be signed in to change notification settings - Fork 6.8k
CDK Drag and Drop: Placeholders don't appear on correct position when scrolling inside a list with fixed height. #18072
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
Closed
PinkTiu opened this issue
Dec 30, 2019
· 2 comments
· Fixed by #18082, lingounet/testage#9, hrueger/AGLight#112 or hrueger/AGLight#114
Closed
CDK Drag and Drop: Placeholders don't appear on correct position when scrolling inside a list with fixed height. #18072
PinkTiu opened this issue
Dec 30, 2019
· 2 comments
· Fixed by #18082, lingounet/testage#9, hrueger/AGLight#112 or hrueger/AGLight#114
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jan 1, 2020
…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.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jan 1, 2020
…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.
Currently we only support scrolling either the list itself or the viewport. #18082 will add support for scrolling a different parent container. |
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Jan 11, 2020
…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.
jelbourn
pushed a commit
that referenced
this issue
Jan 22, 2020
…d viewport (#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 #18072. Relates to #13588.
yifange
pushed a commit
to yifange/components
that referenced
this issue
Jan 30, 2020
…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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reproduction
The drag and drop element must be placed in a container with a fixed height. If the drag and drop list is bigger than the elements within a scrollbar should appear.
For example:
Now when you take a element and start scrolling the placeholders don't appear on the correct position. Instead it seems to me that the change in the height produced by scrolling is not considered in the calculation where the next placeholder should appear.
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-jneyub
Steps to reproduce:
See this video: https://streamable.com/o9bs1
Expected Behavior
During scrolling the placeholders should appear on the correct place (the same place when scrolling is not used).
Actual Behavior
The placeholders don't appear at the correct position when using scrolling.
Environment
The text was updated successfully, but these errors were encountered: