Bug 200893 - WKWebView does not properly resize in NSSplitView with more than 1 item
Summary: WKWebView does not properly resize in NSSplitView with more than 1 item
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 12
Hardware: Mac macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-08-19 12:17 PDT by Maxence Charriere
Modified: 2019-08-19 13:15 PDT (History)
5 users (show)

See Also:


Attachments
The top of the page is not below the separator. Can't scroll to the real top within the 2nd web view. (615.51 KB, image/png)
2019-08-19 12:17 PDT, Maxence Charriere
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxence Charriere 2019-08-19 12:17:29 PDT
Created attachment 376702 [details]
The top of the page is not below the separator. Can't scroll to the real top within the 2nd web view.

WKWebView does not resize properly when used in a NSSplitView that contain more than 1 item and with vertical property set to NO.

The top for the page within the 2nd webview is not below the separator. Moving the separator resizes the 1st webview but not the 2nd one.
2nd webview is also not scrollable.

This does not occur when vertical property set to YES.

How to reproduce?
- set a NSsplitview to fit a NSWindow.
- add 2 WkWebView to the split view.
Comment 1 Radar WebKit Bug Importer 2019-08-19 13:15:47 PDT
<rdar://problem/54480528>