Skip to content

Autofocus input inside step element #1588

Closed

Description

@andresespinosapc

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.

Activity

  1. RobbieTheWagner commented on Aug 17, 2021

    @RobbieTheWagner
    Member

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

  2. stale commented on Oct 2, 2021

    @stale

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions