Skip to content

Commit

Permalink
docs: added comparison to KAV reference
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Oct 29, 2023
1 parent 11807ec commit 0ac5398
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/docs/api/components/keyboard-sticky-view/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import lottie from './ksv.lottie.json';
<Lottie animationData={lottie} style={{ width: 400, height: 400 }} loop />
</div>

:::info `KeyboardAvoidingView` vs `KeyboardStickyView`
Unlike [KeyboardAvoidingView](../keyboard-avoiding-view.mdx) the `KeyboardStickyView` just moves the content along with keyboard and not resizing the inner view. Try to compare animations of `KeyboardStickyView` and `KeyboardAvoidingView` to see a difference in details on how it works and which component is suitable for your needs.
:::

## Example

```tsx
Expand Down

0 comments on commit 0ac5398

Please sign in to comment.