Bug 216815

Summary: Nested iframes not getting focus
Product: WebKit Reporter: Sathis kumar <r.sathishari>
Component: FramesAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   

Sathis kumar
Reported 2020-09-22 01:17:22 PDT
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/
Attachments
Radar WebKit Bug Importer
Comment 1 2020-09-22 15:43:08 PDT
Sathis kumar
Comment 2 2020-10-05 05:03:01 PDT
Hi team, any update on this please
Ahmad Saleem
Comment 3 2026-02-21 10:10:40 PST
JSFiddle is not available to test whether this still exist or not. Also not available on Wayback Archive.
Note You need to log in before you can comment on or make changes to this bug.