elm-select
elm-select copied to clipboard
IOS Safari input focus not working on container click
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.