Skip to content

Commit c86db55

Browse files
authored
Merge pull request #20 from johelder/bugfix/inconsistent-native-driver
Inconsistent native driver
2 parents dc84816 + e7d18e3 commit c86db55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-input-code-otp",
3-
"version": "0.5.1",
3+
"version": "1.1.0",
44
"description": "react-native-input-code-otp is a high-performance and fully customizable OTP input component for React Native, inspired by @shadcn/ui.",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",

src/components/caret.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function Caret() {
1919
Animated.timing(opacity, {
2020
toValue: 0,
2121
duration: 500,
22-
useNativeDriver: false,
22+
useNativeDriver,
2323
}),
2424
Animated.timing(opacity, {
2525
toValue: 1,

0 commit comments

Comments
 (0)