Skip to content

Commit 26e7c98

Browse files
committed
fix: race condition
1 parent 4bfd8b2 commit 26e7c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/animated.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export const KeyboardProvider = (props: KeyboardProviderProps) => {
152152
return;
153153
}
154154

155-
KeyboardControllerNative.synchronizeFocusedInputLayout(viewTag);
155+
await KeyboardControllerNative.synchronizeFocusedInputLayout(viewTag);
156156
}, []);
157157
// memo
158158
const context = useMemo<KeyboardAnimationContext>(

0 commit comments

Comments
 (0)