#2117·shepherd

Disable autofocus of step content via step options

Author: DaDomCreated Oct 24, 2022Updated Mar 27, 2025

Hey there!

I'd like to "re-discuss" #1588 - I have the same use case, in which I would like to keep an input in the highlighted app part focused, and not have the step popup take focus away. Currently, you use floating-ui to focus the step element after 300ms timeout (see here).

I understand that this is something where you would like to figure out a general strategy around a11y. In my case, I would however rather disable this behavior entirely via some step option autoFocus = false or something like that. Would you accept a PR that introduces this ability, or you would not like to have such changes until you have a clearer position on this topic overall?