6 Replies
      Latest reply on Dec 6, 2019 4:21 AM by umutakyol
      Maaaaaaaaaaf Level 1 Level 1 (0 points)

        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://output.jsbin.com/gufocu

        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://output.jsbin.com/gufocu 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 iOS versions.

         

        Is there any way to have the same "old" behavior in WKWebView?