roubachof / Sharpnado.CollectionView

A performant list view supporting: grid, horizontal and vertical layout, drag and drop, and reveal animations.
The Unlicense
244 stars 30 forks source link

Scroll Commands not firing #115

Open ReiSuzuki opened 6 months ago

ReiSuzuki commented 6 months ago

Platform (please complete the following information):

Describe the bug The ScrollingDown, ScrollingUp Commands do not fire in my Vertical sharpnado CollectionView.

To Reproduce Steps to reproduce the behavior: XAML: `In my Sharpnado CollectionView I have the following:

<sho:CollectionView x:Name="FeedCollectionView" CurrentIndex="0" Margin="0,30" ItemSpacing="8" ItemTemplate="{StaticResource FeedDataTemplateSelector}" ScrollingDownCommand="{Binding ScrollUpCommand}" ScrollingUpCommand="{Binding ScrollDownCommand}" CollectionLayout="Vertical"> </sho:CollectionView>

VM: public ICommand ScrollUpCommand { get; } public ICommand ScrollDownCommand { get; } public VM(){ ScrollUpCommand = new Command(ScrollHappening); ScrollDownCommand = new Command(ScrollHappening); } private void ScrollHappening(object obj) { Debug.WriteLine("Scroll happening"); } The Debug lines do not get written.