Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bd6309a

Browse files
author
Marco Cesarato
committed
fix: warning native driver
Closes: #4
1 parent 67905d1 commit bd6309a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/InputValidatorPlaceholder.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class InputValidatorPlaceholder extends InputValidator {
100100
return Animated.timing(
101101
labelStyle[prop],
102102
{
103+
useNativeDriver: true,
103104
toValue: nextStyle[prop],
104105
duration: 200
105106
},
@@ -173,4 +174,4 @@ InputValidatorPlaceholder.defaultProps = {
173174
labelstyle: {},
174175
};
175176

176-
export default InputValidatorPlaceholder;
177+
export default InputValidatorPlaceholder;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /