[webkit-changes] [WebKit/WebKit] 2ab063: visionOS: Date picker Close/Reset buttons have no ...

Tim Horton noreply at github.com
Mon May 13 18:55:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2ab063ff768047004ae7883606f31d22e9f1ff6f
      https://github.com/WebKit/WebKit/commit/2ab063ff768047004ae7883606f31d22e9f1ff6f
  Author: Tim Horton <thorton at apple.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M Source/WebKit/UIProcess/ios/forms/WKDatePickerPopoverController.mm

  Log Message:
  -----------
  visionOS: Date picker Close/Reset buttons have no padding from the edge of the window
https://bugs.webkit.org/show_bug.cgi?id=274123
rdar://127908565

Reviewed by Aditya Keerthi.

* Source/WebKit/UIProcess/ios/forms/WKDatePickerPopoverController.mm:
(-[WKDatePickerPopoverView initWithDatePicker:]):
Add some padding to the accessory view, which contains the Close and Reset buttons.
Only do so when the app is using the visionOS idiom (curiously, the popover style
tracks the app, not the WKWebView's idiom).

Canonical link: https://commits.webkit.org/278727@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