Skip to content

fix: Android SR, remove visible scrollbars#371

Open
abelonogov-ld wants to merge 1 commit intomainfrom
andrey/fix-padding
Open

fix: Android SR, remove visible scrollbars#371
abelonogov-ld wants to merge 1 commit intomainfrom
andrey/fix-padding

Conversation

@abelonogov-ld
Copy link
Contributor

@abelonogov-ld abelonogov-ld commented Feb 16, 2026

Summary

Match current iOS padding approach to remove scrollbars

How did you test this change?

image

Are there any deployment considerations?

Probably there is more stable way, but this one works


Note

Low Risk
Small, localized change to session replay event generation; main risk is slight coordinate/layout mismatch if consumers assume unpadded dimensions.

Overview
Adds a fixed RRWEB_DOCUMENT_PADDING in SessionReplayEventGenerator and applies it to RRWeb meta sizing and touch coordinates.

META events now report width/height with extra padding, and interaction events (ACTION_DOWN/MOVE/UP) offset x/y by the same amount so replays align with the padded document and avoid visible scrollbars.

Written by Cursor Bugbot for commit 366da92. This will update automatically on new commits. Configure here.

@abelonogov-ld abelonogov-ld requested a review from a team as a code owner February 16, 2026 23:21
@abelonogov-ld abelonogov-ld enabled auto-merge (squash) February 16, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant