mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-19 13:41:43 +00:00
breaks on react native 0.9.0-rc if you modify props, instead create a new object
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ var Video = React.createClass({
|
||||
resizeMode = NativeModules.VideoManager.ScaleNone;
|
||||
}
|
||||
|
||||
var nativeProps = merge(this.props, {
|
||||
var nativeProps = merge({},this.props, {
|
||||
style,
|
||||
resizeMode: resizeMode,
|
||||
src: {
|
||||
|
||||
Reference in New Issue
Block a user