You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried your components today and I saw that we couldn't pass refs to the Input, so that we could focus the next element when clicking on the 'Enter'/'Next' button on the keyboard which is pretty much annoying. In fact, when we pass a ref to an Input, we get this error message:
Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail.
Hi, I tried your components today and I saw that we couldn't pass refs to the Input, so that we could focus the next element when clicking on the 'Enter'/'Next' button on the keyboard which is pretty much annoying. In fact, when we pass a ref to an Input, we get this error message:
Here is the code:
And when we press enter, we get:
Can this library works with refs ? Or have you any idea on how could I focus the next input when clicking on 'Next' on my keyboard ?
Thanks for this wonderful library by the way !
The text was updated successfully, but these errors were encountered: