I am using inferno-compat. I have used onChange on file input
<input type="file" onChange={this.handleChange}/>
This works fine with react. handleChange method is invoked. But on using inferno-compat, onChange doesn't work
Try onInput. React's is synthetic, onInput is the native trigger.
@programmerrrr nice spot, this is a bug in inferno-compat!
@lukeed Even onInput is not working with file input
@trueadm Is there any workaround until this bug is fixed?
@programmerrrr I've applied a fix to dev branch if you'd like to check it out?
@trueadm yeah!!! It's working!!
Glad to hear! Closing this issue.
Most helpful comment
@programmerrrr nice spot, this is a bug in
inferno-compat!