[Webkit-unassigned] [Bug 216815] New: Nested iframes not getting focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 22 01:17:22 PDT 2020


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

            Bug ID: 216815
           Summary: Nested iframes not getting focus
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: r.sathishari at gmail.com

Try to have nested iframes. Say
1. Nested Iframe1 inside Parent
2. Nested Iframe2 inside Iframe1.

Nested Iframe2 has its body contenteditable=true. Now the button click placed in Iframe1 tries to set the focus to Iframe2 body. But focus is not being set.
Once we manually click the body, the above approach starts to work without any issues.

The same instead of iframe, if I have a normal contenteditable div, its working fine.

Note: the above behaviour works fine in all other browsers.

Example : https://jsfiddle.net/5zqsu2v9/43/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200922/104f8c8d/attachment-0001.htm>


More information about the webkit-unassigned mailing list