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

[iOS] RefreshView causes CollectionView scroll position to reset #24533

Open
claytonone opened this issue Aug 30, 2024 · 3 comments
Open

[iOS] RefreshView causes CollectionView scroll position to reset #24533

claytonone opened this issue Aug 30, 2024 · 3 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView area-controls-refreshview RefreshView platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@claytonone
Copy link

Description

Using a RefreshView with a CollectionView on iOS causes the CollectionViews scroll position to be reset every time it is activated.

This is working correctly on Android

Steps to Reproduce

  1. Add a CollectionView wrapped in a RefreshView
  2. Scroll to the bottom of the CollectionView and trigger the RefreshView
  3. When the refresh finishes the CollectionView will get scrolled back to the top

Link to public reproduction project repository

https://github.com/claytonone/CollectionViewScrollingRefreshBug

Version with bug

8.0.82 SR8.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

No response

@claytonone claytonone added the t/bug Something isn't working label Aug 30, 2024
@claytonone claytonone changed the title [iOS] RefreshView caused CollectionView scroll position to reset [iOS] RefreshView causes CollectionView scroll position to reset Aug 30, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Zhanglirong-Winnie Zhanglirong-Winnie added platform/iOS 🍎 s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Aug 30, 2024
@Zhanglirong-Winnie
Copy link

This issue has been verified using Visual Studio 17.12.0 Preview 1.0(8.0.82 & 8.0.80). Can repro on iOS platform.

@MitchBomcanhao
Copy link

there have been multiple such issues logged for xamarin forms. the ones I found are all still open, and as the codebase is mostly the same, I'd expect the same problems to be present in maui. it's been at least 5 years since the oldest issue I found.

examples
xamarin/Xamarin.Forms#8306
xamarin/Xamarin.Forms#10640

@samhouts samhouts added area-controls-collectionview CollectionView, CarouselView, IndicatorView area-controls-refreshview RefreshView labels Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView area-controls-refreshview RefreshView platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants