Skip to content

Inserting items makes the StartU unstable. #229

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

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

grokys
Copy link
Member

@grokys grokys commented Oct 31, 2023

Fixes layout problems in a kinda complex scenario where items are inserted before doing a BringIntoView. Couldn't manage to write a test, but all other updates of _firstIndex make _startUUnstable: this was one missing that was an oversight.

Fixes layout problems in a kinda complex scenario where items are inserted before doing a `BringIntoView`. Couldn't manage to write a test, but all other updates of `_firstIndex` make `_startUUnstable`: this was one missing that was an oversight.
@danipen danipen merged commit 5be0d71 into master Oct 31, 2023
@danipen danipen deleted the fixes/inserting-items-startu-unstable branch October 31, 2023 16:26
grokys added a commit to AvaloniaUI/Avalonia that referenced this pull request Nov 28, 2023
github-merge-queue bot pushed a commit to AvaloniaUI/Avalonia that referenced this pull request Nov 28, 2023
* Added failing test for #12744.

* Inserting items makes the StartU unstable.

This ports the fix in AvaloniaUI/Avalonia.Controls.TreeDataGrid#229 to Avalonia.

Fixes #12744
maxkatz6 pushed a commit to AvaloniaUI/Avalonia that referenced this pull request Dec 5, 2023
* Added failing test for #12744.

* Inserting items makes the StartU unstable.

This ports the fix in AvaloniaUI/Avalonia.Controls.TreeDataGrid#229 to Avalonia.

Fixes #12744
#Conflicts:
#	tests/Avalonia.Controls.UnitTests/VirtualizingStackPanelTests.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants