Skip to content

[Material Cardview] Children not being clipped when material cardview has rounded corners below API 29 #1940

@seanyc4

Description

@seanyc4

Description: On API 28 and below when using a material card view with rounded corners children such as other material card views are not clipped and instead overlap the rounded corners.

Expected behavior: https://imgur.com/a/59NoNsk

Source code: Just make a simple material card view with rounded corners. Put a nested scrollview inside and scroll through other material cardview children and you will see on api 28 and below they are not clipped and spill over the corners.

Android API version: bug visible on api 28 and below

Material Library version: 1.2.1

Device: Emulator pixel 4XL <= API 28

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions