RESOLVED MOVED272571
open the camera page but dismiss quickly in WKWebView
https://bugs.webkit.org/show_bug.cgi?id=272571
Summary open the camera page but dismiss quickly in WKWebView
leocc
Reported 2024-04-11 21:07:18 PDT
Created attachment 470880 [details] when i click file button in wkwebview, the camera page present and then dismiss quickly [Description] Insert `<input type="file" accept="image/*" capture="camera" id="file-input" class="file-input"> ` into html and load in WKWebView, the camera page present and then dismiss quickly [Affected Platforms] iOS 17.5 beta [Video] https://github.com/z-wade/iOS17.5betaBugDemo/blob/main/replay/RPReplay_Final1712839974.MP4 [DemoCode] https://github.com/z-wade/iOS17.5betaBugDemo
Attachments
when i click file button in wkwebview, the camera page present and then dismiss quickly (1.48 MB, video/mp4)
2024-04-11 21:07 PDT, leocc
no flags
Dmitriy
Comment 1 2024-04-12 07:21:10 PDT
Confirming that This bug presents on iOS 17.5 beta in Safari. It affects both <input type="file" accept="image/*" capture="environment" /> and <input type="file" accept="image/*" capture="user" /> elements.
Alexey Proskuryakov
Comment 2 2024-04-12 15:24:47 PDT
Thank you! Could you please clarify if this is a new issue in the beta that was definitely not present in iOS 14.4(.1)?
Radar WebKit Bug Importer
Comment 3 2024-04-12 15:24:56 PDT
Aditya Keerthi
Comment 4 2024-04-13 18:43:38 PDT
This is a new issue in the beta, we are tracking a fix internally in rdar://125046135
leocc
Comment 5 2024-04-14 18:19:48 PDT
(In reply to Alexey Proskuryakov from comment #2) > Thank you! Could you please clarify if this is a new issue in the beta that > was definitely not present in iOS 14.4(.1)? yes, it's present only in iOS 17.5 beta
Alexey Proskuryakov
Comment 6 2024-04-22 12:31:53 PDT
Please check with the latest seed, this should be fixed now.
leocc
Comment 7 2024-04-23 23:52:09 PDT
(In reply to Alexey Proskuryakov from comment #6) > Please check with the latest seed, this should be fixed now. Thinks, it has been fixed
Note You need to log in before you can comment on or make changes to this bug.