Open
Description
Steps to reproduce
Steps:
- Open this link to live example: Code Sandbox
- Click in the input as soon as the preview loads (if it is disabled already, refresh the preview and try again)
- Wait a few seconds
Current behavior
A Javascript error is thrown
Expected behavior
The input should be disabled as usual
Context
Input
has a useEffect
which calls onBlur
without an event. This is sort of documented i.e. a comment on the onBlur
of Input
however the Tooltip
does not take account of this and tries to access event.target
.
Your environment
It happens in any browser
Search keywords: tooltip target