Blank screen until user interaction when replay integration is enabled #13651
Labels
Package: angular
Issues related to the Sentry Angular SDK
Package: replay
Issues related to the Sentry Replay SDK
Is there an existing issue for this?
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/angular
SDK Version
8.27.0
Framework Version
Angular 16 (in React Native Webview 13)
Link to Sentry event
No response
Reproduction Example/SDK Setup
I have a basic sentry setup like:
The issue only happens with replayIntegration enabled!
If the application is used in a WebView on Android the bug is present with some specific (but popular) devices eg. Pixel (Android 14) and only sometimes (like in 50% of the reproductions).
Steps to Reproduce
Expected Result
Sentry, with Replay integration enabled, should not cause rendering issues when the phone screen is unlocked.
Actual Result
The webview is blank white (or the background color of the webview) but the page is still interactive. This seems to be a visual bug only:
Things i discovered throughout debugging:
ProcessedNodeManager
'speriodicallyClear
function.periodicallyClear
function, the issue was resolved.onRequestAnimationFrame
(called withinperiodicallyClear
) was causing the issue, but it seems more likely related to the creation of anew WeakMap()
on every frame, even when it is unnecessary (?) (i.e., when the map is empty).While this seems to be an edge case and WebView is notorious for weird issues, it still affects usability.
Question
Is there a way to override, disable, or control the
periodicallyClear
function through the API, or any workaround to fix this issue?The text was updated successfully, but these errors were encountered: