Skip to content

Props are not handled as expected #13

@gavrilikhin-d

Description

@gavrilikhin-d

Describe the bug
If you use mirror prop, then you would get:

Warning: Received `true` for a non-boolean attribute `mirror`.

If you want to write it to the DOM, pass a string instead: mirror="true" or mirror={value.toString()}.
    at video
    at Video
    at RTCView (webpack://mobile/./node_modules/react-native-webrtc-web-shim/src/RTCView.web.js?:1:1135)

Versions (please complete the following information):

  • React Native Version: 0.73.2
  • React Native Web Version: 0.19.10
  • React Native WebRTC Version: 118.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedThe issue has been confirmedenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions