Matt Lucas
Matt Lucas
And still this issue persisted
updated a fiddle to reflect React 16 since the OP was still using 15. still valid. demo: https://jsfiddle.net/matt1234/vqnrc83a/1/
@mar753 - that's an elegant solution using hooks but it doesn't answer the question of why this prop isn't being passed, despite being a known bug for years.
proposal: the muted attribute when passed as a prop to a video component with a boolean value will be added to the dom.
incremental progress :)
From the React16 intro: In the past, React used to ignore unknown DOM attributes. If you wrote JSX with an attribute that React doesn’t recognize, React would just skip it....
Works for me and helps devs conform to mdn's recomendations [here](https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide).
Oh, I just said hi on twitter. nice to see this!
I'm also curious about this. It doesn't seem like you have access to formData the same way you do with onChange, which I would prefer not to use because it's...
> > Do you mean that if you run the code I shared it works, as in, it opens the file picker? > > Yes > > The example you...