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

StatusBar manipulation causes frozen animation values #20

Closed
kirillzyusko opened this issue May 16, 2022 · 0 comments · Fixed by #30
Closed

StatusBar manipulation causes frozen animation values #20

kirillzyusko opened this issue May 16, 2022 · 0 comments · Fixed by #30
Assignees
Labels
🤖 android Android specific 🐛 bug Something isn't working

Comments

@kirillzyusko
Copy link
Owner

kirillzyusko commented May 16, 2022

Describe the bug

When you modify status bar appearance, then animation values returned from hook are always frozen and are not updating when keyboard appears.

Code snippet

Try to add it to Animated transition screen:

<StatusBar
    translucent
    backgroundColor="rgba(0,0,0,0)"
    barStyle="dark-content"
/>

To Reproduce
Steps to reproduce the behavior:

  1. Add a snippet above to any screen in example app;
  2. Go to this screen
  3. Interact with app to open a keyboard

Expected behavior

Elements, which depends on animated values returned from useKeyboardAnimation (and other hooks) should be animated correspondingly.

Screenshots

Screen.Recording.2022-05-16.at.17.27.46.mov

Smartphone (please complete the following information):

  • Desktop OS: MacOS 12.3.1
  • Device: any android emulator
  • OS: Android < 11
  • JS engine: tested on JSC
  • Library version: 1.0.0-alpha.3

Additional context
Add any other context about the problem here.

@kirillzyusko kirillzyusko added the 🐛 bug Something isn't working label May 16, 2022
@kirillzyusko kirillzyusko self-assigned this May 16, 2022
@kirillzyusko kirillzyusko added the 🤖 android Android specific label May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android Android specific 🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant