зеркало из https://github.com/microsoft/reactxp.git
Fixed regression in Animated.View blur() method.
Published new version 0.51.1.
This commit is contained in:
Родитель
b971f21982
Коммит
89be235da7
|
@ -16,6 +16,12 @@ A new version of ReactXP will be released a monthly basis (approximately), follo
|
|||
|
||||
### Version History
|
||||
|
||||
#### Version 0.51.1 of reactxp
|
||||
_Released 19 Jan 2018_
|
||||
|
||||
Fixed regression in native implementation of Animated.View's blur() method.
|
||||
|
||||
|
||||
#### Version 0.2.3 of reactxp-video
|
||||
#### Version 1.0.15 of reactxp-navigator
|
||||
#### Version 0.2.8 of reactxp-imagesvg
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "reactxp",
|
||||
"version": "0.51.0",
|
||||
"version": "0.51.1",
|
||||
"description": "Cross-platform abstraction layer for writing React-based applications a single time that work identically across web, React Native, and Electron distribution",
|
||||
"author": "ReactXP Team <reactxp@microsoft.com>",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -97,7 +97,7 @@ export class AnimatedTextInput extends RX.AnimatedTextInput {
|
|||
blur() {
|
||||
if (this._mountedComponent && this._mountedComponent._component) {
|
||||
if (this._mountedComponent._component.blur) {
|
||||
this._mountedComponent.blur();
|
||||
this._mountedComponent._component.blur();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -107,6 +107,7 @@ export class AnimatedTextInput extends RX.AnimatedTextInput {
|
|||
<ReactNativeAnimatedClasses.TextInput
|
||||
ref={ this._onMount }
|
||||
{ ...this.props }
|
||||
style={ this.props.style }
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче