Bug 133044 - False blurs in iframes on iOS
Summary: False blurs in iframes on iOS
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 7.0
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-18 00:20 PDT by Arty Gus
Modified: 2019-05-02 16:23 PDT (History)
7 users (show)

See Also:


Attachments
iframe content (3.73 KB, text/html)
2014-05-18 00:20 PDT, Arty Gus
no flags Details
uses iframe to show the problem (1.76 KB, text/html)
2014-05-18 00:21 PDT, Arty Gus
no flags Details
uses iframe to show the problem (previous had invalid markup) (1.75 KB, text/html)
2014-05-18 00:23 PDT, Arty Gus
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arty Gus 2014-05-18 00:20:24 PDT
Created attachment 231652 [details]
iframe content

When parent window touch event is bound: tap the text in the iframe, input some stuff and then tap the text again - iframe blur happens and keyboard is shown though no text can be entered
Comment 1 Arty Gus 2014-05-18 00:21:55 PDT
Created attachment 231653 [details]
uses iframe to show the problem
Comment 2 Arty Gus 2014-05-18 00:23:55 PDT
Created attachment 231654 [details]
uses iframe to show the problem (previous had invalid markup)
Comment 3 Benjamin Poulain 2014-05-18 01:32:20 PDT
Thanks for the new bug report.

It looks like that still reproduces on UIWebView with WebKit ToT. I cannot reproduce with WKWebView, so that seems to be WebKit1 specific.
Comment 4 Jared Flatow 2014-07-18 23:34:25 PDT
I came across this as well. It also seems the input receives keyup and keydown events, but not input or keypress.
Comment 5 AmazingJaze 2014-08-22 13:48:04 PDT
Came across this as well, the condition was to add any "touchstart" event listener to the top level window (even an empty function was sufficient) and then tap inside of an iframe that already had focus. 

This causes a blur event to fire on that iframe.