: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(notebooks): make touchstart listener passive (#118721)
Paul D'Ambrab1aec61eaca8
diff --git a/frontend/src/lib/components/MarkdownNotebook/MarkdownNotebook.tsx b/frontend/src/lib/components/MarkdownNotebook/MarkdownNotebook.tsxindex 659260d9c10a..d94d33c6ffae 100644--- a/frontend/src/lib/components/MarkdownNotebook/MarkdownNotebook.tsx+++ b/frontend/src/lib/components/MarkdownNotebook/MarkdownNotebook.tsx@@ -3323,7 +3323,7 @@ function MarkdownNotebookEditor({window.document.addEventListener('focusin', handleDocumentSelectionChange)window.document.addEventListener('mousedown', handleDocumentPointerStart, true)window.document.addEventListener('pointerdown', handleDocumentPointerStart, true)- window.document.addEventListener('touchstart', handleDocumentPointerStart, true)+ window.document.addEventListener('touchstart', handleDocumentPointerStart, { capture: true, passive: true })window.addEventListener('resize', handleViewportChange)window.addEventListener('scroll', handleViewportChange, { capture: true, passive: true })