[webkit-changes] [WebKit/WebKit] 608dae: [tvOS] Date picker buttons have an unexpected back...

Aditya Keerthi noreply at github.com
Tue Jul 30 15:29:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 608dae2559f41b9b1db042b65ca6269301d36c2d
      https://github.com/WebKit/WebKit/commit/608dae2559f41b9b1db042b65ca6269301d36c2d
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformUse.h
    M Source/WebKit/UIProcess/ios/forms/WKDatePickerPopoverController.mm

  Log Message:
  -----------
  [tvOS] Date picker buttons have an unexpected background color
https://bugs.webkit.org/show_bug.cgi?id=277357
rdar://132521757

Reviewed by Wenson Hsieh.

`UIToolbar` buttons have a grey background on tvOS. Since this is not customizable,
use a `UIView` with two `UIButton`s instead of `UIToolbar`.

* Source/WTF/wtf/PlatformUse.h:
* Source/WebKit/UIProcess/ios/forms/WKDatePickerPopoverController.mm:
(-[WKDatePickerPopoverView setupView:toolbarBottomMargin:]):
(-[WKDatePickerPopoverView accessoryView]):
(-[WKDatePickerPopoverController viewDidLoad]):

Canonical link: https://commits.webkit.org/281611@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list