Skip to content

Fix modal auto-focus in the web component #809

Open
@loiswells97

Description

@loiswells97

Modals should auto-focus the input field if there is one, and select the existing text if present. This works in the standalone editor but not in the web component. Seems to be due to the problems with focus in web components in general due to the input field being inside the shadow DOM, so the host page cannot transfer focus to it in the current setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions