Bug 136115 - Bluring an <input> element in iOS 8 scrolls and clicks the wrong element
Summary: Bluring an <input> element in iOS 8 scrolls and clicks the wrong element
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 7.0
: P2 Normal
Assignee: Nobody
URL: http://jsbin.com/piyotubaleto/6/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-08-20 11:52 PDT by John Barr
Modified: 2015-05-08 03:12 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Barr 2014-08-20 11:52:42 PDT
Affects: Safari iOS 8 beta 5 iPhone (not available under Platform)

Repro case:
http://jsbin.com/piyotubaleto/6/

Repro steps:
1. Tap on resizing <input> element.
2. (<input> element gets focus, scrolls to top of screen)
3. Tap on a red square.
4. (<input> element scroll to middle of screen, a different red square gets the click than the one you clicked on)

Requirements for this bug to happen:
a. You blur the <input> element by tapping on an element with a 'touchend' handler.
b. You change the side of the <input> element in its 'focus' handler.

This issue affects mobile Gmail's search field as the search field changes size on focus (cancel button appearing) and we make extensive use of touchend handlers.
Comment 1 Radar WebKit Bug Importer 2014-08-23 17:52:18 PDT
<rdar://problem/18112843>