-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: tooltipChanges related to the tooltip.Changes related to the tooltip.type: bugIt doesn't behave as expected.It doesn't behave as expected.
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
scope: tooltipChanges related to the tooltip.Changes related to the tooltip.type: bugIt doesn't behave as expected.It doesn't behave as expected.