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

[Bug] CollectionView Dynamic resizing of items not working properly on Xamarin Forms IOS #8583

Open
eyacoub opened this issue Nov 20, 2019 · 8 comments

Comments

@eyacoub
Copy link

eyacoub commented Nov 20, 2019

Description

on Item tapped in the collection view, we are changing the visibility of a layout. it's working fine on Android while on IOS it's changing the size of all the items below the one tapped.

Steps to Reproduce

Expected Behavior

it should only change the size of the tapped item

Actual Behavior

it's changing the size of all the items below the one selected.

Basic Information

  • Version with issue: Xamarin.Forms 4.3.0.991211
  • Last known good version:None
  • IDE:Visual Studio For MAc and For Windows
  • Platform Target Frameworks:
    • iOS:
    • Android:

Screenshots

image
image

@eyacoub eyacoub added s/unverified New report that has yet to be verified t/bug 🐛 labels Nov 20, 2019
@pauldipietro pauldipietro added this to New in Triage Nov 20, 2019
@samhouts
Copy link
Member

@eyacoub Can you please attach a small project that demonstrates this issue? Thanks!

@samhouts samhouts added s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. labels Nov 25, 2019
@samhouts samhouts moved this from New to Needs Info in Triage Nov 25, 2019
@eyacoub
Copy link
Author

eyacoub commented Nov 27, 2019

Archive.zip
please find attached.

@samhouts samhouts removed s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/needs-repro ❔ This reported issue doesn't include a sample project reproducing the issue. Please provide one. labels Nov 27, 2019
@samhouts samhouts moved this from Needs Info to New in Triage Nov 27, 2019
@PureWeen
Copy link
Contributor

PureWeen commented Dec 6, 2019

Possibly related

#6852

@PureWeen PureWeen removed the s/unverified New report that has yet to be verified label Dec 6, 2019
@PureWeen PureWeen added this to To do in v4.5.0 via automation Dec 6, 2019
@PureWeen PureWeen moved this from New to Ready For Work in Triage Dec 6, 2019
@samhouts samhouts moved this from Ready For Work to Needs Estimate in Triage Dec 9, 2019
@samhouts samhouts added the e/5 🕔 5 label Jan 3, 2020
@samhouts samhouts moved this from Needs Estimate to Ready For Work in Triage Jan 3, 2020
@samhouts samhouts added this to To do in iOS Ready For Work Jan 3, 2020
@samhouts samhouts removed this from Ready For Work in Triage Jan 3, 2020
@samhouts samhouts added this to Backlog in CollectionView Jan 3, 2020
@NiknakSi
Copy link

Any news on when this might get resolved? Or if there's a workaround for the time being? It seems to fix itself when the CollectionView gets scrolled.

Screen Recording 2020-03-10 at 12 02 45 small

@bondarenkod
Copy link
Contributor

bondarenkod commented Aug 3, 2020

I've updated nugets and templates in the example from the top of this thread
I've also added fixes from the #10842
It seems like solved the issue.
[updated example TestCollectionViewExpandable.iOS.zip] (https://github.com/xamarin/Xamarin.Forms/files/5015794/TestCollectionViewExpandable.iOS.zip)
ezgif com-video-to-gif

@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts added this to To do in vNext+1 (5.0.0) Aug 14, 2020
@lafritay
Copy link

@samhouts In case it helps, here's another repro that doesn't even require user interaction. It's just a simple form that is barely changed from the sample that comes with a new project.

When it first loads, it looks like this (notice the extra space after the third item):

Screen Shot 2020-10-19 at 3 55 13 PM

If you scroll down and then back up, it fixes itself:

Screen Shot 2020-10-19 at 3 59 53 PM

Here's the repro:

Bugs 2.zip

@samhouts samhouts removed this from the 5.0.0 milestone Nov 2, 2020
@taublast
Copy link

Archive.zip
please find attached.

It's changing the size only of the selected item for me on ios simulator, forms 5.0.0.2083, can't see a problem..

@taublast
Copy link

@samhouts In case it helps, here's another repro that doesn't even require user interaction. It's just a simple form that is barely changed from the sample that comes with a new project.

When it first loads, it looks like this (notice the extra space after the third item):

Screen Shot 2020-10-19 at 3 55 13 PM

If you scroll down and then back up, it fixes itself:

Screen Shot 2020-10-19 at 3 59 53 PM

Here's the repro:

Bugs 2.zip

Same, on ios simulator, forms 5.0.0.2083, can't see a problem. For info all repro were using forms 4.8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
CollectionView
  
Review Backlog
Development

No branches or pull requests

7 participants