| Summary: | Set ContentInset would cause cursor move below keyboard | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tiger Guo <guotenghu> | ||||||
| Component: | WebKit2 | Assignee: | 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: |
|
||||||||
Created attachment 432256 [details]
video to show the bug
|
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.