releases.shpreview

Survey autofocus now optional for embedded surveys

posthog-js@1.398.0

July 6, 2026PostHog JSView original ↗
1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes

1.398.0

Minor Changes

  • #4070 ef119bf Thanks @posthog! - Add a disableAutofocus survey appearance option. When set, open-text survey questions no longer steal focus when they render, which is useful for embedded (inline) surveys that shouldn't grab the caret or scroll the page on load. Defaults to false, preserving the existing autofocus behavior. (2026-07-06)

Fetched July 6, 2026