question

Nico-6099 avatar image
0 Votes"
Nico-6099 asked JarvanZhang-MSFT commented

Scrolling CollectionView while dragging item

I'm tasked with implementing drag an drop inside a CollectionView. The drag an drop works well but I can't get the CollectionView to scroll through the items while dragging. How do i implement this feature?

dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JarvanZhang-MSFT avatar image
0 Votes"
JarvanZhang-MSFT answered JarvanZhang-MSFT commented

Hello,​

Welcome to our Microsoft Q&A platform!

Hi, Nico. I created a basic demo to test the function and faced the same issue. This problem will also occur in a scrollView. It turns out the drop gesture could not trigger the scroll event and the gesture doesn't provide a method to detect the drop location. For this requirement, it's suggested to post a feature request to the product team on github to get a solution.

Best Regards,

Jarvan Zhang


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @Nico-6099
May I know if you have got any chance to check my answer? I am glad to help if you have any other questions.

0 Votes 0 ·