Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

onBlur is called on first mount #616

Open
loun4 opened this issue Dec 28, 2021 · 0 comments
Open

onBlur is called on first mount #616

loun4 opened this issue Dec 28, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@loun4
Copy link

loun4 commented Dec 28, 2021

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/divine-sunset-kvms0?file=/src/App.tsx
  2. Open console
  3. See "blur" log

Expected behavior
onBlur should only be called when focus is lost.

Version
11.21.3
The 11.9.1 is intentionally used on the sandbox in order to make it work (build failure with 11.21.3).

@loun4 loun4 added the bug Something isn't working label Dec 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant