Skip to content

[Windows] Layout could not complete exception arise when using CarouselView PeekAreaInsets Property in OnSizeAllocated method #26822

@HarishKumarSF4517

Description

@HarishKumarSF4517

Description

Layout could not complete exception occurs when the CarouselViewAdjustPeekAreaInsets test is executed, particularly when adjusting the PeekAreaInsets in the OnSizeAllocated method of the CarouselView.

Note: While fixing this issue enable the CarouselViewAdjustPeekAreaInsets UItests.

Image

Steps to Reproduce

Steps to Reproduce

Expected Behavior:

  • Sample need to run Without Exception

Actual Behavior:

  • App Crashes with Unhandled Exception.

Link to public reproduction project repository

No response

Version with bug

9.0.21 SR2.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions