Range with two custom inputs - pass ref with functional components? #1252
Unanswered
StuckInSprings
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.
-
Currently I'm seeing unexpected behaviour with react-day-picker when using a range with two inputs and a custom input.
Here's a codesandbox with an example of what I've been working with
The custom input doesn't show the calendar when it is clicked, since it's a functional component I'm unable to pass the ref to the component as is demonstrated in the examples using classed based react.
Beta Was this translation helpful? Give feedback.
All reactions