Skip to content

Scroll Commands not firing #115

@ReiSuzuki

Description

@ReiSuzuki

Platform (please complete the following information):

  • OS: [Both]
  • Device: [iPhone 15 Pro/Android Simulator (Pixel 4a API 33)]
  • Sdk version: [iOS 17/Android SDK 33]
  • .NET MAUI: [8.0.10]

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions