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

Keyboard (IME) animation support #142

Merged
merged 10 commits into from
Dec 2, 2020
Merged

Keyboard (IME) animation support #142

merged 10 commits into from
Dec 2, 2020

Conversation

chrisbanes
Copy link
Contributor

@chrisbanes chrisbanes commented Nov 13, 2020

This brings initial support for WindowInsetsAnimation to Accompanist Insets. The API is marked as experimental, since it's not final and will likely be refined.

  • Refine the API?
  • Add parameter to enable/disable WindowInsetsAnimationsupport

@sjmueller
Copy link

Excited for this!

Currently we create a new Modifier instance on each
inset value change since we compute a new insets inside of
composed { }, which isn't ideal. Instead, we have now moved
the computation within the layout block, which means only the
layout block will be restarted on composition changes.
Also added a enable/disable flag to ProvideWindowInsets
@chrisbanes chrisbanes marked this pull request as ready for review December 1, 2020 21:11
@chrisbanes chrisbanes merged commit cc0b94c into main Dec 2, 2020
@chrisbanes chrisbanes deleted the cb/keyboard-animations branch December 2, 2020 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants