I'm using the Popover API and there are so many issues on iOS Safari
- using
<dialog>
combined with a form and input causes it to block the rest of the page (.cgi?id=276864) - instead I tried using a
<div>
withrole="dialog"
and addingautofocus
on the input, but that doesn't even open the popover ... - skipping all that I tried using a form with an input field, but I cannot focus or type in it. Page seems to be blocked.
This above works fine in all browsers supporting Popover API, except for Safari 18+ on iOS (it does work on MacOS).
Is there something I miss because I seem to be blocked with the combination of a form and popover on iOS Safari. Forms and popover API seem to be unusable?
Here's a Codepen with the 3 situations
I'm using the Popover API and there are so many issues on iOS Safari
- using
<dialog>
combined with a form and input causes it to block the rest of the page (https://bugs.webkit./show_bug.cgi?id=276864) - instead I tried using a
<div>
withrole="dialog"
and addingautofocus
on the input, but that doesn't even open the popover ... - skipping all that I tried using a form with an input field, but I cannot focus or type in it. Page seems to be blocked.
This above works fine in all browsers supporting Popover API, except for Safari 18+ on iOS (it does work on MacOS).
Is there something I miss because I seem to be blocked with the combination of a form and popover on iOS Safari. Forms and popover API seem to be unusable?
Here's a Codepen with the 3 situations https://codepen.io/Bregt/pen/MYWEpvd
Share Improve this question edited Mar 11 at 14:51 Bregt asked Mar 11 at 14:20 BregtBregt 1911 silver badge12 bronze badges1 Answer
Reset to default 0Okay this seems to be a bug that is fixed in 18.4. https://developer.apple/documentation/safari-release-notes/safari-18_4-release-notes
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744788767a4593786.html
评论列表(0条)