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
Whenever I write something to the input and then move my cursor to the beginning of the string
and type something new the cursor jumps to the end of the string. If I let the hook control the state there is no issue with it.
downshift
version: 9.0.8node
version: 18npm
(oryarn
) version:What you did:
I try to control the state outside the hook.
What happened:
Whenever I write something to the input and then move my cursor to the beginning of the string
and type something new the cursor jumps to the end of the string. If I let the hook control the state there is no issue with it.
Reproduction repository:
https://codesandbox.io/p/sandbox/silent-worker-vzyycm
Problem description:
The cursor jumps to the end of the input
Suggested solution:
The behaviour would be the same wether the state is controlled internally or externally.
The text was updated successfully, but these errors were encountered: