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
I have functionalComponent wrapping styledInput (from styled-components) inside (with key property).
When i use it from another component directly, input works as expected (letters added, focus not lost)
But when i wrapped it with hook withSize - it lost focus on each letter append.
What's the problem? And how can i fix it?
The text was updated successfully, but these errors were encountered:
I have functionalComponent wrapping styledInput (from styled-components) inside (with key property).
When i use it from another component directly, input works as expected (letters added, focus not lost)
But when i wrapped it with hook withSize - it lost focus on each letter append.
What's the problem? And how can i fix it?
The text was updated successfully, but these errors were encountered: