Xamarin.forms: [UWP] How to scroll in CollectionView ?

Created on 19 Feb 2020  路  6Comments  路  Source: xamarin/Xamarin.Forms

Hello, I would like to know if it is possible to scroll in a collectionView on UWP without using the ScrollBar? That is to say with a Click and slide or with the mouse wheel?

collectionview in-progress UWP bug

Most helpful comment

@hartez I am on a desk but the mouse wheel does not work at all..., but on tablet / smartphone it's ok

Edit : The mouse wheel work if the collectionView is vertical but never in horizontal mode.

All 6 comments

@MireTH If you're running on a desktop, the mouse wheel _should_ be scrolling it. Is that not working for you?

I don't believe "click and slide" works on desktop, but if you're running on a tablet you can scroll by dragging your finger.

@hartez I am on a desk but the mouse wheel does not work at all..., but on tablet / smartphone it's ok

Edit : The mouse wheel work if the collectionView is vertical but never in horizontal mode.

I've done tests and the mouse wheel works with a vertical CollectionView but not horizontally. A touch mouse works (Ex: Magic Mouse, etc.).

Will the Collectionview reachedcommand and reachedcommandthreshold work on UWP?
Because with listview it loads all items at once #2478

I have fixed that but i cant PR now until they merge or reject my other PR because i created the PR from my master fork and i don't want to waste my time with all those cherrypicking etc. I hope this year my other PR will be reviewed so i can PR this fix as well :D

Here is the PR resolves the issue including test case https://github.com/xamarin/Xamarin.Forms/pull/11372

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jassmith picture jassmith  路  199Comments

Giorgi picture Giorgi  路  99Comments

jassmith picture jassmith  路  69Comments

allessandrosj picture allessandrosj  路  61Comments

dan5602 picture dan5602  路  124Comments