elm-select icon indicating copy to clipboard operation
elm-select copied to clipboard

IOS Safari input focus not working on container click

Open Confidenceman02 opened this issue 9 months ago • 0 comments

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.

Confidenceman02 avatar May 26 '24 16:05 Confidenceman02