Skip to content

Fix file upload on iOS Safari#19

Merged
jaak0b merged 1 commit into
masterfrom
fix/ios-upload-cleanup
Jul 4, 2026
Merged

Fix file upload on iOS Safari#19
jaak0b merged 1 commit into
masterfrom
fix/ios-upload-cleanup

Conversation

@jaak0b

@jaak0b jaak0b commented Jul 4, 2026

Copy link
Copy Markdown
Owner

On iOS Safari the picker sheet showed a real visible file input, but tapping it did nothing: the OS file dialog never opened. iOS Safari only treats an element as tappable (and fires its click / default action) when it looks interactive to Safari; a bare styled file input inside the sheet did not qualify, so the tap was silently ignored. Attaching real touch/click event listeners to the input makes Safari treat it as interactive, and the dialog now opens (confirmed on an iPhone running iOS 18).

This keeps those event listeners on the input (they are the fix) and points them at the browser console, and removes the temporary on-screen debug log that was used to diagnose this. Desktop and Android were unaffected throughout.

@jaak0b jaak0b added fix User-facing bug fix (release notes) and removed fix User-facing bug fix (release notes) labels Jul 4, 2026
@jaak0b jaak0b merged commit 691fa15 into master Jul 4, 2026
1 check passed
@jaak0b jaak0b deleted the fix/ios-upload-cleanup branch July 4, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant