Closed busslina closed 1 month ago
Now I can achieve my desired behavior:
Now it really snaps to top. I use none
and manipulate the controller by myself.
With the ...snapToTop
it was scrolling down, then up.
With all the respect this lib is a mess in scrolling behaviour...
Thanks for pointing out this issue, will look into it this weekend.
This is a easy patch. But sure you can get resolve it better although you know all the code design
I have fixed this issue by adding a new boolean flag focusToNewNode
. By setting the flag to false, the scrolling to the last child is disabled.
As the issue you reported is not directly related to the expansion behaviour, and the disabling the sccrollingToLastChild might not be desirable by all the users, so it made sense to separate out this functionality.
Pull request 32 awaiting approval
On
handleAddItemsEvent
andhandleInsertItemsEvent
events