Skip to content

[iOS 13] Clipping Corners are Incompatible with Dynamic Colors #1673

Closed
@shamanskyh

Description

The problem:
If I have an ASDisplayNode with a corner radius and corner rounding type set to ASCornerRoundingTypeClipping, and my ASDisplayNode has a dynamic background color, the corner layer doesn't seem to update when the trait collection's user interface style changes.

I'm going to investigate more, but I think the solution is going to be an additional call to _updateClipCornerLayerContentsWithRadius when the trait collection changes its interface style. Internally, we're tracking this as BUG-99048.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions