Skip to content

Changing one CollectionView's ItemSpacing changes another CollectionView's ItemSpacing as well. #29696

@bhavanesh2001

Description

@bhavanesh2001

Description

If I define two CollectionViews without explicitly setting their ItemsLayout, and then change the ItemSpacing of the first CollectionView at runtime, the ItemSpacing of the second CollectionView also changes.

collectionview_bug.mov

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/bhavanesh2001/CollectionViewItemsLayoutBug

Version with bug

9.0.70 SR7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions