Replies: 2 comments
-
|
Hi, can I take this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Version Number
7.67.0
Codesandbox/Expo snack
https://codesandbox.io/p/devbox/nifty-lumiere-5jnwkg?workspaceId=ws_Q8FtixA3WEZW4dYkGFmhL2
Steps to reproduce
Expected behaviour
The focus should be set to the date field. But it just flickers and the focus is moved away from the field again.
Setting the focus to a date input programatically works fine. Below the example I added a button and a second date field. Click on the button "set focus" and the focus will be set as expected.
There is something going on when submitting, that steals away the focus.
Update: Even more interestingly, I found out, that validating the form with "trigger" and shouldFocus: true works fine.
I updated the sandbox.
What browsers are you seeing the problem on?
Chrome
Relevant log output
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions