added focus after calendar item picked
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
9c09841815
commit
bf21f45e9a
@ -186,8 +186,11 @@ open class DatePicker: EntryFieldBase, DatePickerViewControllerDelegate, UIPopov
|
|||||||
|
|
||||||
internal func didSelectDate(_ controller: DatePickerViewController, date: Date) {
|
internal func didSelectDate(_ controller: DatePickerViewController, date: Date) {
|
||||||
selectedDate = date
|
selectedDate = date
|
||||||
controller.dismiss(animated: true)
|
controller.dismiss(animated: true) { [weak self] in
|
||||||
sendActions(for: .valueChanged)
|
guard let self else { return }
|
||||||
|
self.sendActions(for: .valueChanged)
|
||||||
|
UIAccessibility.post(notification: .layoutChanged, argument: self.fieldStackView)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle {
|
public func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user