Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sizable input lost focus #216

Open
Slava96 opened this issue Jul 23, 2021 · 0 comments
Open

Sizable input lost focus #216

Slava96 opened this issue Jul 23, 2021 · 0 comments

Comments

@Slava96
Copy link

Slava96 commented Jul 23, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant