You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you check if manually adding autocomplete="off" to the field in the replayer using dev tools fixes it?
If setting in dev tools is too late, you could check report back whether the following patch would work:
index e4a4c9df4..5fb12676b 100644
--- a/packages/rrweb-snapshot/src/rebuild.ts+++ b/packages/rrweb-snapshot/src/rebuild.ts@@ -386,6 +386,9 @@ function buildNode(
}
}
}
+ if (tagName === 'input' || tagName === 'textarea') {+ node.setAttribute('autocomplete', 'off');+ }
return node;
}
case NodeType.Text:
Preflight Checklist
What package is this bug report for?
rrweb-player
Version
https://cdn.jsdelivr.net/npm/rrweb-player@latest/dist/index.js
Expected Behavior
When a user clicks playback, under no circumstance does it show the user's autocomplete details in the input.
The user will end up thinking that there private information is getting leaked through the video.
Actual Behavior
It does under certain circumstances.
Steps to Reproduce
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: