mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(datetime): keyboard navigation of time picker columns (#24251)
This commit is contained in:
@ -1350,6 +1350,9 @@ export class Datetime implements ComponentInterface {
|
||||
style={{
|
||||
'--offset-y': '-10px'
|
||||
}}
|
||||
// Allow native browser keyboard events to support up/down/home/end key
|
||||
// navigation within the time picker.
|
||||
keyboardEvents
|
||||
ref={el => this.popoverRef = el}
|
||||
>
|
||||
{this.renderTimePicker(hoursItems, minutesItems, ampmItems, use24Hour)}
|
||||
|
||||
Reference in New Issue
Block a user