:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(replay): sync inspector scroll when re-enabling sync while paused (#58161)
Tue Haulundcf6ff9bd58f9
diff --git a/frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorList.tsx b/frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorList.tsxindex 66861e9359d4..442e65ce965d 100644--- a/frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorList.tsx+++ b/frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorList.tsx@@ -97,7 +97,7 @@ export function PlayerInspectorList(): JSX.Element {listRef.current.scrollToRow({ index: playbackIndicatorIndex })}}- }, [playbackIndicatorIndex]) // oxlint-disable-line react-hooks/exhaustive-deps+ }, [playbackIndicatorIndex, syncScrollPaused]) // oxlint-disable-line react-hooks/exhaustive-depsconst handleScroll = useCallback(() => {// TRICKY: There is no way to know for sure whether the scroll is directly from user input