Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autofocus input inside step element #1588

Closed
andresespinosapc opened this issue Aug 16, 2021 · 2 comments
Closed

Autofocus input inside step element #1588

andresespinosapc opened this issue Aug 16, 2021 · 2 comments

Comments

@andresespinosapc
Copy link

I want to autofocus an input that is inside a step element as soon as I get into that step. The problem is that Shepherd is focusing the whole element after I focus my input. I looked into the code and it happens 300 milliseconds after getting to that step, so as a workaround I focus my input 400 milliseconds after, but I think there should be a way of doing this in a better way.

@RobbieTheWagner
Copy link
Member

@andresespinosapc focusing the tooltip is part of a11y and is required. Open to other suggestions if you have them.

@stale
Copy link

stale bot commented Oct 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants