Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for keyboard animation meta #214

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

justinmakaila
Copy link

Summary

This adds animation meta information to the useKeyboard hook to support implementing custom keyboard avoiding views. Solution adds a new state hook that is used to indicate the duration of the animation, whether the animation is active (defined as transitioning from willShow/Hide to didShow/Hide), and what the animation type is: show | hide.

Test Plan

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS
Android
Web

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)
  • I've created a snack to demonstrate the changes: LINK HERE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant