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

KeyboardAvoidingView animation issues since 0.76+ #47625

Open
alexmngn opened this issue Nov 15, 2024 · 4 comments
Open

KeyboardAvoidingView animation issues since 0.76+ #47625

alexmngn opened this issue Nov 15, 2024 · 4 comments
Labels
API: Keyboard Component: KeyboardAvoidingView Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. Needs: Attention Issues where the author has responded to feedback. Newer Patch Available

Comments

@alexmngn
Copy link

alexmngn commented Nov 15, 2024

Description

I've updated my project from 0.75.2 to 0.76.1 this morning, and I noticed that the KeyboardAvoidingView, which was previously animating properly, is no longer animating. It now jumps and doesn't follow the keyboard animation.

Not sure why in my project it doesn't work, but while creating the reproduction repo, I noticed the animation behaviour has changed and doesn't look native smooth anymore.

Steps to reproduce

Any new project with KeyboardAvoidingView

React Native Version

0.76.1

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 15.2
  CPU: (10) arm64 Apple M1 Pro
  Memory: 157.52 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.11.0
    path: ~/.nvm/versions/node/v22.11.0/bin/node
  Yarn:
    version: 1.22.17
    path: ~/.npm-global/bin/yarn
  npm:
    version: 10.9.0
    path: ~/.nvm/versions/node/v22.11.0/bin/npm
  Watchman:
    version: 2024.01.22.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/Alexis/.rbenv/shims/pod

Stacktrace or Logs

No crash

Reproducer

https://github.com/alexmngn/reproducer-react-native-keyboard-avoiding

Screenshots and Videos

On my project

Before update, 0.75.2

ScreenRecording_11-14-2024.23-43-13_1.mov

After update, 0.76.1

ScreenRecording_11-14-2024.23-24-09_1.mp4

On the reproducer repo

Before update, 0.75.2

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-11-15.at.00.20.27.mp4

After update, 0.76.1

Untitled.mp4
@react-native-bot
Copy link
Collaborator

Tip

Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.76.2. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@react-native-bot
Copy link
Collaborator

Tip

Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@migueldaipre
Copy link
Collaborator

Hey @alexmngn, thanks for opening this issue.

Does it happen with the new architecture too?

@alexmngn
Copy link
Author

While testing version 0.76.1, I tried both with and without the new architecture and could see the same issue in both cases.

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Nov 15, 2024
@migueldaipre migueldaipre added the Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API: Keyboard Component: KeyboardAvoidingView Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. Needs: Attention Issues where the author has responded to feedback. Newer Patch Available
Projects
None yet
Development

No branches or pull requests

3 participants