Closed NeverMorewd closed 3 weeks ago
You may need to use the Dispatcher in order to wait for items to be loaded.
You may need to use the Dispatcher in order to wait for items to be loaded.
Thank you!
I have solved this issue with adding Dispatcher.UIThread.RunJobs(DispatcherPriority.Loaded);
after Items.Add
Describe the bug
ScrollIntoView(itemsControl.Items.Count - 1)
can not work as expected, whilescrollViewer?.ScrollToEnd();
can work well.To Reproduce
Expected behavior
ScrollIntoView(itemsControl.Items.Count - 1)
can work likescrollViewer?.ScrollToEnd();
Avalonia version
11.1.3
OS
Windows
Additional context
No response