Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll Commands not firing #115

Open
ReiSuzuki opened this issue Mar 14, 2024 · 0 comments
Open

Scroll Commands not firing #115

ReiSuzuki opened this issue Mar 14, 2024 · 0 comments

Comments

@ReiSuzuki
Copy link

ReiSuzuki commented Mar 14, 2024

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.

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

No branches or pull requests

1 participant