Skip to content

StrokeDashArray of a Border control is not well recycled with a CollectionView #22326

@taenito

Description

@taenito

Description

The StrokeDashArray of a Border control is not well recycled with a CollectionView.

Example :
White cards use new DoubleCollection() (or null or new DoubleCollection([0]))
Gray cards use new DoubleCollection([3, 3])

When scrolling, white cards will get the gray card StrokeDashArray.

example

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/taenito/dotnet-maui-border-control-with-strokedasharray-not-recycled-correctly

Version with bug

9.0.30 SR3

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, I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions