Skip to content

Comments

fix: Android SR, remove visible scrollbars#371

Merged
abelonogov-ld merged 1 commit intomainfrom
andrey/fix-padding
Feb 17, 2026
Merged

fix: Android SR, remove visible scrollbars#371
abelonogov-ld merged 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
@abelonogov-ld abelonogov-ld merged commit c21ecd4 into main Feb 17, 2026
25 checks passed
@abelonogov-ld abelonogov-ld deleted the andrey/fix-padding branch February 17, 2026 18:21
Vadman97 pushed a commit that referenced this pull request Feb 17, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>launchdarkly-observability-android: 0.25.2</summary>

##
[0.25.2](launchdarkly-observability-android-0.25.1...launchdarkly-observability-android-0.25.2)
(2026-02-17)


### Bug Fixes

* Android SR, remove visible scrollbars
([#371](#371))
([c21ecd4](c21ecd4))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Automated version/changelog updates for a patch release; no functional
code changes are included in this diff.
> 
> **Overview**
> Publishes **`@launchdarkly/observability-android` v0.25.2** by bumping
the version in `.release-please-manifest.json` and the module’s
`gradle.properties`.
> 
> Updates `sdk/@launchdarkly/observability-android/CHANGELOG.md` with
the `0.25.2` release notes (bug fix: remove visible scrollbars in
Android Session Replay).
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
81e8b05. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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.

2 participants