While trying to trigger input event, after changing the state from disabled to enabled. The event is not triggered. To reproduce the issue, follow the below steps.
- Component initially in a disabled state
- Change the component to the enabled state using the button
- Enter the value and clear the value using a clear button
- The input event is not triggered. (If it is in the enabled state, event-triggered properly)
Issue reproducing sample: https://stackblitz.com/edit/react-swonnq-3bsuch?file=index.js