Changeset 267064 in webkit


Ignore:
Timestamp:
Sep 14, 2020 6:29:37 PM (4 years ago)
Author:
Aditya Keerthi
Message:

[macOS] Do not dismiss date picker when a value is selected
https://bugs.webkit.org/show_bug.cgi?id=216515
<rdar://problem/68889944>

Reviewed by Darin Adler.

The calendar presented when activating a date input should not be
dismissed after the user selects a date. This matches the behavior
of date pickers in Calendar.app.

  • UIProcess/mac/WebDateTimePickerMac.mm:

(WebKit::WebDateTimePickerMac::didChooseDate):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r267053 r267064  
     12020-09-14  Aditya Keerthi  <akeerthi@apple.com>
     2
     3        [macOS] Do not dismiss date picker when a value is selected
     4        https://bugs.webkit.org/show_bug.cgi?id=216515
     5        <rdar://problem/68889944>
     6
     7        Reviewed by Darin Adler.
     8
     9        The calendar presented when activating a date input should not be
     10        dismissed after the user selects a date. This matches the behavior
     11        of date pickers in Calendar.app.
     12
     13        * UIProcess/mac/WebDateTimePickerMac.mm:
     14        (WebKit::WebDateTimePickerMac::didChooseDate):
     15
    1162020-09-14  Peng Liu  <peng.liu6@apple.com>
    217
  • trunk/Source/WebKit/UIProcess/mac/WebDateTimePickerMac.mm

    r266830 r267064  
    9595
    9696    m_page->didChooseDate(date);
    97     endPicker();
    9897}
    9998
Note: See TracChangeset for help on using the changeset viewer.