Skip to content

Comments

Add virtualizing wrap panel#92

Open
timunie wants to merge 21 commits intoAvaloniaUI:mainfrom
timunie:feature/VirtualizingWrapPanel
Open

Add virtualizing wrap panel#92
timunie wants to merge 21 commits intoAvaloniaUI:mainfrom
timunie:feature/VirtualizingWrapPanel

Conversation

@timunie
Copy link
Contributor

@timunie timunie commented Nov 22, 2024

This PR adds a virtualizing wrap panel.

@timunie
Copy link
Contributor Author

timunie commented Jul 7, 2025

I think the code is ready for a first review.

@timunie timunie force-pushed the feature/VirtualizingWrapPanel branch from 1fe357d to dbac3b4 Compare July 24, 2025 05:15
@timunie timunie marked this pull request as ready for review July 24, 2025 06:05
@timunie
Copy link
Contributor Author

timunie commented Jul 24, 2025

If one has different sized items, it is hard to predict how to navigate in this scenario, at least when it comes to navigate rows. Therefore, I decided to disable row navigation when items are of different size. However, a developer can override Navigate***() and implement the behavior as needed.

From my point of view, the control is ready for review.

@timunie timunie changed the title [WIP] Add virtualizing wrap panel Add virtualizing wrap panel Jul 24, 2025
@timunie timunie force-pushed the feature/VirtualizingWrapPanel branch from 59cfcbf to e9a6370 Compare September 12, 2025 12:25
It is still best to use `IItemSizeProvider` where possible if Items have different sizes
some fixes
- Navigation via arrow keys works now
- ghost element is gone
In such a case a prediction of the element to target is not easy. So we will disable it for now.
@timunie timunie force-pushed the feature/VirtualizingWrapPanel branch from e9a6370 to 9cf09e1 Compare November 25, 2025 19:11
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.

1 participant