-
-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Description:
In the last version, horizontal scrolling was somewhat hit or miss with the horizontal scroll wheel but would always work with the scroll bar. After the update, I noticed on one of my tables the horizontal scroll wheel would scroll vertically and the horizontal scroll view. It took a while but I found the difference was that this table has the collection bound to the visibility so it is collapsed if there are no items present. This seems to break scrolling.
Steps to Reproduce:
Add this property to the TableView: Visibility="{x:Bind ViewModel.Items, Mode=OneWay, Converter={StaticResource CollectionVisibilityConverter}}"
And add this converter to resources:
xmlns:converters="using:CommunityToolkit.WinUI.Converters"
<converters:CollectionVisibilityConverter x:Key="CollectionVisibilityConverter" />
Expected behavior:
I expect that once the items are loaded and set and the table becomes visible, I can scroll horizontally with both the scroll wheel and scroll bar.
Environment:
- Package Version: 1.4.0
- WinAppSDK Version: 1.8.260209005