Skip to content

Add support for ControlList API's controlList attribute #9594

Closed
@raglan-road

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions