[webkit-changes] [WebKit/WebKit] f08aa3: Buttons on the Date/Time picker are too low on vis...

megangardner noreply at github.com
Wed Aug 16 18:13:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f08aa3ffb0503b2c808622fe6b9f37698c3ff5e6
      https://github.com/WebKit/WebKit/commit/f08aa3ffb0503b2c808622fe6b9f37698c3ff5e6
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

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

  Log Message:
  -----------
  Buttons on the Date/Time picker are too low on visionOS.
https://bugs.webkit.org/show_bug.cgi?id=260316
rdar://113725970

Reviewed by Aditya Keerthi.

We had a hard coded size for the accessory view for the buttons
at the bottom of the date/time picker, and since visionOS has
a different layout, it did not look good on the platform. Use
sizeThatFits to have a good size on all platforms and remove
the constant as well as some others that are no longer used.

* Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:
(-[WKDateTimePicker initWithView:datePickerMode:]):

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




More information about the webkit-changes mailing list