: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(ui): ignore Enter key during IME composition on home input (#60043)
Christiaan Hendriksenf371d3141ab7
diff --git a/frontend/src/scenes/project-homepage/ai-first/HomepageInput.tsx b/frontend/src/scenes/project-homepage/ai-first/HomepageInput.tsxindex cd9ef72d59b0..7dafe26d532c 100644--- a/frontend/src/scenes/project-homepage/ai-first/HomepageInput.tsx+++ b/frontend/src/scenes/project-homepage/ai-first/HomepageInput.tsx@@ -80,7 +80,7 @@ function IdleInput(): JSX.Element {posthog.capture('homepage query submitted', { mode: 'search' })submitQuery('search')}- if (e.key === 'Enter') {+ if (e.key === 'Enter' && !e.nativeEvent.isComposing) {if (e.shiftKey) {// Allow default behavior to insert newlinereturn