Skip to content

Commit

Permalink
fix: fix typo (#3421)
Browse files Browse the repository at this point in the history
This PR fixes a typo on useKeyboard documentation
`kayboard` => `keyboard`
  • Loading branch information
TheNerdGuyLulu authored Jul 29, 2022
1 parent 5e915e5 commit 234e47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/api/hooks/useAnimatedKeyboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: useAnimatedKeyboard
title: useAnimatedKeyboard
sidebar_label: useAnimatedKeyboard
---
With the `useAnimatedKeyboard` hook, you can create animations based on current kayboard position.
With the `useAnimatedKeyboard` hook, you can create animations based on current keyboard position.

On Android, make sure to set `android:windowSoftInputMode` in your `AndroidMainfest.xml` to `adjustResize`. Then, using the `useAnimatedKeyboard` hook disables
the default Android behavior (resizing the view to accomodate keyboard) in the whole app. Using values from `useAnimatedKeyboard` hook you can handle the keyboard yourself. Unmounting all components that use `useAnimatedKeyboard` hook brings back the default Android behavior.
Expand Down

0 comments on commit 234e47c

Please sign in to comment.