| Summary: | [iOS][FCR] <select multiple> picker should collapse sections when tapping anywhere on a group header | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aditya Keerthi <akeerthi> | ||||||
| Component: | Forms | Assignee: | Aditya Keerthi <akeerthi> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, thorton, webkit-bug-importer, wenson_hsieh | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Other | ||||||||
| Hardware: | iPhone / iPad | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Aditya Keerthi
2021-05-19 10:13:45 PDT
Created attachment 429062 [details]
Patch
Comment on attachment 429062 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=429062&action=review r=mews > Source/WebKit/UIProcess/ios/forms/WKFormSelectPicker.mm:753 > +@protocol WKSelectPickerGroupHeaderViewDelegate <NSObject> > +- (void)didTapSelectPickerGroupHeaderView:(WKSelectPickerGroupHeaderView *)headerView; > +@end Nit - since this is all internal to `WKSelectPickerGroupHeaderView` and `WKSelectPickerTableViewController` anyways, can we just directly pass in the `WKSelectPickerTableViewController` and remove this protocol? Created attachment 429071 [details]
Patch for landing
(In reply to Wenson Hsieh from comment #3) > Comment on attachment 429062 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=429062&action=review > > r=mews Thanks for the review! > > Source/WebKit/UIProcess/ios/forms/WKFormSelectPicker.mm:753 > > +@protocol WKSelectPickerGroupHeaderViewDelegate <NSObject> > > +- (void)didTapSelectPickerGroupHeaderView:(WKSelectPickerGroupHeaderView *)headerView; > > +@end > > Nit - since this is all internal to `WKSelectPickerGroupHeaderView` and > `WKSelectPickerTableViewController` anyways, can we just directly pass in > the `WKSelectPickerTableViewController` and remove this protocol? I've removed the protocol. Committed r277743 (237915@main): <https://commits.webkit.org/237915@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 429071 [details]. |