Closed
Description
In version 58, Chrome shipped support for the HTMLMediaElement ControlList API and, by extension, the controlList attribute on elements like video
and audio
. Here's how the attribute looks in practice.
React <= 15.5.4 does not support this attribute and strips it out with a Warning: Unknown prop controlsList on <video> tag. Remove this prop from the element.
warning in the console.
Could you add support for this new attribute? This isn't a pressing issue as it's possible to set the attribute via javascript (i.e. by setting it in a ref
or in a component lifecycle event), but it would be nice to have it recognized as the valid attribute it is.
Metadata
Assignees
Labels
No labels