Skip to content

Session Replay masking does not mask input placeholders #887

Open
@GxDesign

Description

@GxDesign

Expected Behavior

All text displayed in an input should be masked if using conservative or amp-mask class

Current Behavior

Placeholder text is not masked. This is an issue for searchable dropdown components which may update the placeholder value to the selected option.

Steps to Reproduce

  1. create an input with placeholder text and apply amp-mask

Environment

  • "@amplitude/session-replay-browser": "1.13.9"
  • "react": "17.0.2",

Metadata

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