Describe the bug
item.BringIntoView doesn't work in ItemsRepeater inside ItemsRepeaterScrollHost (UniformGridLayout)
<ui:ItemsRepeaterScrollHost>
<ui:ScrollViewerEx x:Name="scrollViewer" Padding="0,0,16,0">
<ui:ItemsRepeater
...
ui:ItemsRepeater.Layout
<ui:UniformGridLayout />
</ui:ItemsRepeater.Layout>
Following code doesn't work due to virtualization.
FrameworkElement element = itemsRepeater.GetOrCreateElement(selectedItemIndex.Value) as FrameworkElement;
element .BringIntoView();
Waiting for item LayoutUpdated before calling BringIntoView works better, but only if there is only one column of items.
Please provide a way to make an item visible with ItemsRepeater
Reproduction
See description
Suggested Solution
No response
Library Version
0.10.2
Operating System
Windows 11
Framework
.NET Framework
Framework Version
4.7
Source of Package
Self-Compiled
Additional Notes
No response
Validations
Describe the bug
item.BringIntoView doesn't work in ItemsRepeater inside ItemsRepeaterScrollHost (UniformGridLayout)
...
ui:ItemsRepeater.Layout
<ui:UniformGridLayout />
</ui:ItemsRepeater.Layout>
Following code doesn't work due to virtualization.
FrameworkElement element = itemsRepeater.GetOrCreateElement(selectedItemIndex.Value) as FrameworkElement;
element .BringIntoView();
Waiting for item LayoutUpdated before calling BringIntoView works better, but only if there is only one column of items.
Please provide a way to make an item visible with ItemsRepeater
Reproduction
See description
Suggested Solution
No response
Library Version
0.10.2
Operating System
Windows 11
Framework
.NET Framework
Framework Version
4.7
Source of Package
Self-Compiled
Additional Notes
No response
Validations