You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the animateTo function does not always properly scroll all the way to the actual bottom, so there is a .then(() => _scrollToBottom()) call after it.
This should not be necessary.
I think I know what might be happening...
When you click the FAB, it reads out the maxScrollExtent, and starts scrolling to that exact pixel value.
But when new stuff gets added to the ListView, that gets added after that pixel value.
So it scrolls to the position that used to be the bottom, when the FAB was clicked, instead of to the actual bottom at the end-moment of the animation.
I still do not know how to properly solve this...
I've found this solution: https://stackoverflow.com/a/74134507/8109619, but that's also far from ideal, due to the linear scroll.
And honestly, I'd rather keep the current solution that teleports at the end-moment of the animation, instead.
Currently, the
animateTo
function does not always properly scroll all the way to the actual bottom, so there is a.then(() => _scrollToBottom())
call after it.This should not be necessary.
BlueMapGUI/lib/console.dart
Lines 137 to 145 in 9f3926b
The text was updated successfully, but these errors were encountered: