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
Describe the bug
When beforeUnload event is fired, the RUM logs cease to publish. beforeUnload displays a browser modal which prompts the user to leave or stay on the page. In browser-sdk code we are already stopping the RUM events. This should not actually stop the RUM events or logs on before Unload but actually it should be on unload.
To Reproduce
Steps to reproduce the behavior:
fire beforeUnload event
choose to stay on tab
RUM events would stop publishing Expected behavior
The RUM events should keep publishing during beforeUnload and they should actually stop on unload event
The text was updated successfully, but these errors were encountered:
The collection stopping at beforeUnload indeed has some known limitations and we have received your feature request. Yet, unload is not reliable and is deprecated (cf MDN) in favor of pagehide. Hence, we have been looking at different alternatives to beforeUnload or unload to better detect when the page is gone.
Internally, we are having active discussion on this topic and we will keep you updated.
Describe the bug
When beforeUnload event is fired, the RUM logs cease to publish. beforeUnload displays a browser modal which prompts the user to leave or stay on the page. In browser-sdk code we are already stopping the RUM events. This should not actually stop the RUM events or logs on before Unload but actually it should be on unload.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The RUM events should keep publishing during beforeUnload and they should actually stop on unload event
The text was updated successfully, but these errors were encountered: