Posts

Post not yet marked as solved
6 Replies
3.3k Views
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 elementSample for Safari: https://output.jsbin.com/gufocuSample with objective-C application with WKWebView: https://github.com/HaRaSyMNaZaR/iOSWebkitBlurSample/Environment: iPad Safari and objective-C application with WKWebViewSafari:1. Open https://output.jsbin.com/gufocu in Safari on iPadOS 132. Tap on date input3. Select date4. Tap on other element to close date popoverNativeWebView - Testapp ( https://github.com/HaRaSyMNaZaR/iOSWebkitBlurSample/ )1. Launch the app via Xcode on iOs 13 device2. Tap on date input3. Select date4. Tap on other element to close date popoverActual 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 behaviorI would expect the same behavior as in previous iOS versions.Is there any way to have the same "old" behavior in WKWebView?
Posted Last updated
.