NSToolbar Draws On Top of "Full Screen" Video Played in WKWebView in Mac Catalyst app

I have a Mac Catalyst app configured like so:

  1. The root view controller on the window is a tripe split UISplitViewController.
  2. The secondary view controller in the Split View controller is a view controller that uses WKWebView.
  3. Load a website in the WKWebview that has a video.
  4. Expand the video to “Full screen” (on Mac Catalyst this is only “Full window” because the window does not enter full screen like AppKit apps do).
  5. The NSToolbar overlaps the “Full screen video.” On a triple Split View controller only the portions of the toolbar in the secondary and supplementary columns show through (the video actually covers the toolbar area in the “primary” column).

The expected results: -For the video to cover the entire window including the NSToolbar.

Actual results: The NSToolbar draw on top of the video.

--

Anyone know of a workaround? I filed FB13229032

NSToolbar Draws On Top of "Full Screen" Video Played in WKWebView in Mac Catalyst app
 
 
Q