maui icon indicating copy to clipboard operation
maui copied to clipboard

[Android] CollectionView scrolling is not smooth and bounces

Open rachelkang opened this issue 2 years ago • 7 comments

Description

CollectionView scrolling is not always consistently smooth. Sometimes, it intermittently bounces back to the place I started dragging from. This seems to happen more often when in horizontal screen orientation, but whether there is an actual correlation is still unclear.

In the video below, I repeatedly swipe on the screen from left to right in an attempt to scroll to previous items in the CollectionVew. At no point do I manually swipe the other way. However, the CollectionView can be seen quickly bouncing back to the position where I'd started dragging from to the end of the CollectionView.

https://user-images.githubusercontent.com/21988533/233676439-2fa28487-a05b-43bd-8b7e-1eaa63330ae8.mp4

Steps to Reproduce

  1. Pull down https://github.com/rachelkang/recipeSearch
  2. Deploy to Android physical device
  3. Navigate to "My Recipes" tab
  4. Scroll to the back of the CollectionView
  5. Swipe on the CollectionView from the left to right ends of the screen in an attempt to scroll
  6. Notice a relatively smoothly experience.
  7. Rotate phone to horizontal screen orientation.
  8. Repeat steps 4-5.
  9. Notice an inconsistent scrolling experience.

Link to public reproduction project repository

https://github.com/rachelkang/recipeSearch

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 12

Did you find any workaround?

No response

Relevant log output

No response

rachelkang avatar Apr 21 '23 15:04 rachelkang

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.

ghost avatar Apr 24 '23 14:04 ghost

cc @jonathanpeppers

jsuarezruiz avatar Apr 24 '23 14:04 jsuarezruiz

@jsuarezruiz what should I be looking for here?

@rachelkang is the problem here performance or something with UI behavior? It seems like some scrolling values are wrong after you rotate the device?

jonathanpeppers avatar Apr 24 '23 17:04 jonathanpeppers

I have the same issue but with vertical scrolling work fine on iOS though.

etienneCGI avatar Jun 28 '23 21:06 etienneCGI

I face the exact same issue. Any updates on this?

dpjha84 avatar Dec 24 '23 14:12 dpjha84

Hi @rachelkang. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Jan 11 '24 06:01 ghost

Verified this issue with Visual Studio Enterprise 17.9.0 Preview 2.1. Not repro on Android platforms with sample project. https://github.com/rachelkang/recipeSearch

Zhanglirong-Winnie avatar Jan 11 '24 06:01 Zhanglirong-Winnie