-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I have an onBlur handler for the autosuggest box that sets state. However, if the blur happens because the user clicked the submit button, the submit event never happens. My understanding is that React cancels events after the blur due to the setting of state.
With a regular onBlur handler I could check the event's relatedTarget and conditionally set the state. However, the autosuggest component only passes its value to the onBlur handler.
I will try delaying the blur handler's functionality with a timeout, but ... I miss the event properties.
Metadata
Metadata
Assignees
Labels
No labels