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

feat(android): height issue fixed with keyboard avoiding component in new architecture #45928

Closed
wants to merge 1 commit into from
Closed

feat(android): height issue fixed with keyboard avoiding component in new architecture #45928

wants to merge 1 commit into from

Conversation

shubhamguptadream11
Copy link
Collaborator

Summary:

Fixes this issue: #45880

Changelog:

[ANDROID] [CHANGED] - Replaced mLastHeight with mVisibleViewArea.height() since mLastHeight value is not getting updated. For width we are already using mVisibleViewArea.width()

Test Plan:

  • Tested the fix in new and old architecture both

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 7, 2024
@shubhamguptadream11 shubhamguptadream11 marked this pull request as ready for review August 7, 2024 13:02
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Aug 7, 2024
@Titozzz
Copy link
Collaborator

Titozzz commented Aug 9, 2024

Can confirm that without this fix, is completely broken on android new arch.

@facebook-github-bot
Copy link
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Aug 9, 2024
@facebook-github-bot
Copy link
Contributor

@cortinico merged this pull request in 603eb94.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @shubhamguptadream11 in 603eb94

When will my fix make it into a release? | How to file a pick request?

blakef pushed a commit that referenced this pull request Aug 19, 2024
… new architecture (#45928)

Summary:
Fixes this issue: #45880

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID] [CHANGED] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[ANDROID] [CHANGED] - Replaced `mLastHeight` with `mVisibleViewArea.height()` since mLastHeight value is not getting updated. For `width` we are already using `mVisibleViewArea.width()`

Pull Request resolved: #45928

Test Plan: - Tested the fix in new and old architecture both

Reviewed By: christophpurrer

Differential Revision: D61023998

Pulled By: cortinico

fbshipit-source-id: df67616330effb7b9e6724d94b3be92c0dbd6190
Copy link

This pull request was successfully merged by @shubhamguptadream11 in 1cea8e8.

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants