[Webkit-unassigned] [Bug 146033] New: Click events nested within click event handlers do not trigger the first time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 16 16:00:31 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146033

            Bug ID: 146033
           Summary: Click events nested within click event handlers do not
                    trigger the first time
    Classification: Unclassified
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Hardware: iOS
                OS: iOS 8.2
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cwhenderson20 at gmail.com

In mobile Safari, click events within click handlers do not trigger on the first click.

Example code:
-------------
document.querySelector('.link-one').addEventListener('click', function () {
    document.querySelector('.link-two').click();
});

In Chrome (mobile and desktop) as well as in desktop Safari (8.0.6), clicking a link with a class of "link-one" will then trigger the programmatic click of a link with class "link-two". Mobile Safari, however, does not trigger the click until the ".link-one" element is clicked a second time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150616/edab2349/attachment.html>


More information about the webkit-unassigned mailing list