Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add support for keyboard animation meta #214

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

Open
justinmakaila wants to merge 2 commits into react-native-community:main
base: main
Choose a base branch
Loading
from justinmakaila:feature/keyboard-animation

Conversation

@justinmakaila
Copy link

@justinmakaila justinmakaila commented Nov 13, 2020

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /