Skip to content

IOS Safari input focus not working on container click #181

Description

@Confidenceman02

Safari has a known limitation that it won’t allow programmatic focus on inputs with click or mousedown events. As evident on custom select variants with searchable True config option.

you can get around this by focusing the input as a reaction to onPointerDown.

The fix for this will likely need to be included as a jsOptimize dealio considering it’s impossible to execute code from event handlers in Elm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions