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
scrollToEnd not getting emitted after initial emit. #2323
Comments
@vinaymerugu13 the link takes me to https://stackblitz.com not your example |
Example Check this out |
#2324 This is the PR I raised after raising the issue. I did it from my different GitHub account. Please checkout. @pavankjadda |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🎆 |
What happened @varnastadeus please update |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions 🎆 |
Describe the bug
A clear and concise description of what the bug is.
When I scrolled down in dropdown panel( first time), scrollToEnd is getting emitted. After that, when changes are made in the items list, it stopped getting emitted.
Reproducbile example
Example which reproduces described behaviour
To Reproduce
Steps to reproduce the behavior (if example is not provided):
Expected behavior
A clear and concise description of what you expected to happen.
Every time scroll reaches its end, scrollToEnd should emit.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Once you reach the end of dropdown panel, you could see scrollToEnd getting emitted. Then add another 50 same items to the list.
Now scroll to end, you will see scrollToEnd is not emitted.
I have debugged the code and found out that _scrollToEndFired is not getting set to false, after true, upon item changes in _onItemsChange method.
In _fireScrollToEnd, it is getting returned.
The text was updated successfully, but these errors were encountered: