WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
202533
REGRESSION (iOS 13): Date/Time input: blur event is not fired immediately on dialog close
https://bugs.webkit.org/show_bug.cgi?id=202533
Summary
REGRESSION (iOS 13): Date/Time input: blur event is not fired immediately on...
Nazarii
Reported
2019-10-03 09:59:35 PDT
In iOS <=12 - dismissing the popover would call blur event for date/time inputs. In iOS 13 - blur is not called for input when dismissing the popover. The time/date element is only blurred the next time the user taps another focused element/different element Sample for Safari:
https://jsbin.com/neteyoquwa/1
Sample with objective-C application with WKWebView:
https://github.com/HaRaSyMNaZaR/iOSWebkitBlurSample/
Environment: iPad Safari and objective-C application with WKWebView Safari: 1. Open
https://jsbin.com/neteyoquwa/1
in Safari on iPadOS 13 2. Tap on date input 3. Select date 4. Tap on other element to close date popover NativeWebView - Testapp (
https://github.com/HaRaSyMNaZaR/iOSWebkitBlurSample/
) 1. Launch the app via Xcode on iOs 13 device 2. Tap on date input 3. Select date 4. Tap on other element to close date popover Actual behavior: - iOS <=12 - blur is fired immediately after closing popover - iOS 13 - blur is not fired immediately after closing popover. One more tap is required to fire blur event. Expected behavior I would expect the same behavior as in previous versions. NOTE: Time input has the same behavior and steps to reproduce.
Attachments
Add attachment
proposed patch, testcase, etc.
Nazarii
Comment 1
2019-10-03 14:32:19 PDT
Updated link:
https://output.jsbin.com/gufocu
Radar WebKit Bug Importer
Comment 2
2019-10-04 18:51:49 PDT
<
rdar://problem/56001744
>
Wenson Hsieh
Comment 3
2019-10-04 19:56:21 PDT
IIRC, this was an intentional behavior change made in
https://trac.webkit.org/r243808
, which the goal of matching the behavior of select menus on macOS (which also don’t blur when the select menu is dismissed).
Ahmad Saleem
Comment 4
2022-09-29 15:18:30 PDT
(In reply to Wenson Hsieh from
comment #3
)
> IIRC, this was an intentional behavior change made in >
https://trac.webkit.org/r243808
, which the goal of matching the behavior of > select menus on macOS (which also don’t blur when the select menu is > dismissed).
Should we mark this as "RESOLVED WONTFIX" considering it is intentional change? Thanks!
Brent Fulgham
Comment 5
2024-01-23 12:38:49 PST
Closing as "Behaves Correctly" (INVALID), based on Wenson's review.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug