amplitude/Amplitude-TypeScript

Session Replay masking does not mask input placeholders

GxDesign opened this issue · 2 comments

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",

Seems reasonable. We have an internal ticket to track this. We'll update this Github ticket accordingly. Thanks for the feedback!

Hey @GxDesign as I was going through the implementation, which I'd like to get merged upstream I saw this issue being raised for rrweb. If it gets accepted we'll pick up the upstream change. If it gets rejected I may go ahead with my implementation. Hope that helps!