Bug 227397

Summary: Set ContentInset would cause cursor move below keyboard
Product: WebKit Reporter: Tiger Guo <guotenghu>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: bfulgham, guotenghu, kkinnunen, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: All   
OS: iOS 14   
Attachments:
Description Flags
Demo project
none
video to show the bug guotenghu: review+

Tiger Guo
Reported 2021-06-25 05:42:08 PDT
Created attachment 432255 [details] Demo project If contentInset.bottom is set for WKWebView.scrollView and keyboard is displayed for a div with contentEditable=true, the cursor would move below the keyboard after pressing enter in a row. It's quite serious because it's common to set contentInset for webview. If the bug happenens, user can't see the cursor while typing.
Attachments
Demo project (103.50 KB, application/zip)
2021-06-25 05:42 PDT, Tiger Guo
no flags
video to show the bug (904.47 KB, video/mp4)
2021-06-25 05:43 PDT, Tiger Guo
guotenghu: review+
Tiger Guo
Comment 1 2021-06-25 05:43:17 PDT
Created attachment 432256 [details] video to show the bug
Radar WebKit Bug Importer
Comment 2 2021-07-02 05:43:17 PDT
Note You need to log in before you can comment on or make changes to this bug.