Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

CollectionView Scrolling causing some Views to Disappear #6767

Closed
LeoJHarris opened this issue Jul 3, 2019 · 5 comments
Closed

CollectionView Scrolling causing some Views to Disappear #6767

LeoJHarris opened this issue Jul 3, 2019 · 5 comments

Comments

@LeoJHarris
Copy link

LeoJHarris commented Jul 3, 2019

When calling the ScrollTo method on CollectionView some views seem to dissapear - only tested on android. This seems to be random and doesnt occur all the time.

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: Visual Studio 2019 Community Version 16.1.5
  • Platform Target Frameworks:
    • iOS: Untested
    • Android: compile v9.0
    • UWP: Untested.
  • Xamarin Forms Version: 4.1.0.555618

Screenshots

I scroll down and up then click the 'Click to scroll' to call the ScrollTo method which scrolls right down and youl notice that some views in the last item dont display correctly and also scrolling back up the first row also.

ezgif com-add-text

Reproduction Link

Sample.zip

@LeoJHarris LeoJHarris added s/unverified New report that has yet to be verified t/bug 🐛 labels Jul 3, 2019
@kvpt
Copy link
Contributor

kvpt commented Jul 3, 2019

I confirm the issue.
This seems to only occur when in landscape.
And is can be trigerred by manuel scroll too.

My guess is that the issue was the same as #6355 or #5838.
So I cherry picked the change in PR #6390 and after that impossible to reproduce it.
So it's confirm that it's not directly a collection view problem but a layout recycling problem, which is fixed by #6390.

@samhouts samhouts added e/3 🕒 3 and removed s/unverified New report that has yet to be verified labels Jul 4, 2019
@sarthak199526
Copy link

sarthak199526 commented Jul 4, 2019

I am also facing this issue when can we have an update to fix this issue it's really slowing down my app release also this issue arising even when user scroll by interaction not using scrollTo method thanks.
Scroll down and up really fast and you will find it

@LeoJHarris LeoJHarris changed the title CollectionView ScrollTo causing some Views to Disappear CollectionView Scrolling causing some Views to Disappear Jul 4, 2019
@fabcall
Copy link

fabcall commented Jul 8, 2019

I can confirm it's not restricted to landscape, I had the same problem with horizontal CollectionView.

@leemallon
Copy link

Happens on the CarouselView also for Labels within the data template, tested with manual scrolling. views can re-appear once scrolled back too.

@samhouts
Copy link
Member

closed by #6390

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants