dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.95k stars 1.7k forks source link

CollectionView scroll by code specifying offset in pixels #17684

Open TheStone03 opened 11 months ago

TheStone03 commented 11 months ago

Description

It would be correct if the internal scrollview of the CollectionView had a method for the scroll specifying the offset in pixel for the movement, like the one for the normal ScrollView (ScrollView.ScrollToAsync(double x, double y, bool animated))

Public API Changes

var myCollection = new CollectionView();

myCollection.ScrollToAsync(myScrollView.ScrollX,0,true);

Intended Use-Case

in my app i want to link the scroll of a ScrollView to the scroll of a CollectionView and i need to use the offset in pixel for scroll all the components together.

ghost commented 10 months ago

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.