Programatic Navigation #2868
Unanswered
ImmanuelKannan
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone, I'm tryig to build an input that has a popover that displays when active. In this popover, there should be an instance of the react-day-picker. From what i know now, to navigate the calendar using the arrow keys, I first have to focus into the Week Rows.
The behavior I'm looking for is that as long as the input is focused and day picker popover is visible, and i press the arrow keys, it should navigate around the calendar without me having to focus into it. What I'm thinking is like I should be able to detect when the left arrow key is pressed and call a function like
cal.navigateLeft()or somethingI tried looking around the docs but couldn't find anything. Would appreciate some suggestions for this.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions