breaks on react native 0.9.0-rc if you modify props, instead create a new object
This commit is contained in:
parent
28d482852d
commit
cd555535af
@ -80,7 +80,7 @@ var Video = React.createClass({
|
|||||||
resizeMode = NativeModules.VideoManager.ScaleNone;
|
resizeMode = NativeModules.VideoManager.ScaleNone;
|
||||||
}
|
}
|
||||||
|
|
||||||
var nativeProps = merge(this.props, {
|
var nativeProps = merge({},this.props, {
|
||||||
style,
|
style,
|
||||||
resizeMode: resizeMode,
|
resizeMode: resizeMode,
|
||||||
src: {
|
src: {
|
||||||
|
Loading…
Reference in New Issue
Block a user