Skip to content

Session Replay Mask text forces parent element to mask everything #296

Open
@sterien7

Description

Version

3.19.4

Steps to Reproduce

  1. Mask a Text() element using .postHogMask()
  2. The text element is inside a parent element which acts like a list item View
  3. if the parent element has the .clipShape modifier, the whole element gets masked instead of just the text

I use .clipShape(.rect(cornerRadius: 24))

Expected Result

The inner Text view should be masked

Image

Actual Result

The whole list item gets Masked

Image

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions