Fixed regression in Animated.View blur() method.

Published new version 0.51.1.
This commit is contained in:
Eric Traut 2018-01-19 20:06:35 -07:00
Родитель b971f21982
Коммит 89be235da7
3 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -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 }
/>
);
}