Closed MrBokeh closed 5 years ago
Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic!
Hi @kensodemann there you go: https://github.com/MrBokeh/VirtualScrollSampleApp/ or https://github.com/MrBokeh/VirtualScrollSampleApp/blob/master/src/pages/home/home.ts
I am building a chat app which need to auto scroll to the bottom whenever user sent a message or someone else sent a message so that's why I need to scroll to the bottom for the list.
@kensodemann I am suspecting that if the items total height is less than the screen height then this problem will occur.
Duplicated. Marked as Virtual Scroll issue, and set to review after v4 is released.
Virtualscroll has known issues with scrollTo functions (be it top, bottom or co-ords) there have been tickets open for a long time for these.
WKWebview helps resolve some but then it also creates some of its own. For example hitting a scrollToTop, Bottom etc while the view is scrolling will stop the current scroll but completely disregard the scrollTo request.
Thanks for the issue! We have moved the source code and issues for Ionic 3 into a separate repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
Thank you for using Ionic!
Issue moved to: https://github.com/ionic-team/ionic-v3/issues/832
Ionic version: (check one with "x") [ ] 2.x [x ] 3.x [ ] 4.x
I'm submitting a ... (check one with "x") [x ] bug report [ ] feature request
Current behavior: _co.ScrollToTop not found on virtual scroll
Expected behavior: It should scroll to the bottom if I called this.content.scrollToBottom()
Steps to reproduce: 1) use Virtual Scoll 2) Call the this.content.scrollToBottom() to scroll the page to the bottom
Related code:
Other information: N/A
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):