Skip to content

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

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

Activity

  1. github-actions commented on May 10, 2024

    @github-actions
    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.

  2. added
    s/verifiedVerified / Reproducible Issue ready for Engineering Triage
    s/triagedIssue has been reviewed
    on May 10, 2024
  3. RoiChen001 commented on May 10, 2024

    @RoiChen001

    Can repro this issue at Android platform on the latest 17.10 Preview 7(8.0.20&8.0.21).

  4. added this to the Backlog milestone on May 10, 2024
  5. removed
    s/verifiedVerified / Reproducible Issue ready for Engineering Triage
    s/triagedIssue has been reviewed
    on Jul 3, 2024
  6. added
    s/verifiedVerified / Reproducible Issue ready for Engineering Triage
    s/triagedIssue has been reviewed
    on Jul 10, 2024
  7. taenito commented on Jan 17, 2025

    @taenito
    Author

    I updated the reproduction project to version 9.0.30 SR3

  8. 10 remaining items

  9. added 2 commits that reference this issue on Jul 3, 2026
    db0272e
    6d147d0
  10. added 2 commits that reference this issue on Jul 7, 2026
    1187422
    c6a04d0
  11. added 2 commits that reference this issue on Jul 10, 2026
    03f0dc0
    e88c8b5
  12. added a commit that references this issue on Jul 22, 2026
    b07de32
  13. added 2 commits that reference this issue on Jul 28, 2026
    4d85668
    45aaa43
  14. added a commit that references this issue on Aug 7, 2026
    320e898
  15. added a commit that references this issue on Aug 10, 2026
  16. locked and limited conversation to collaborators on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions