-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fix: autogrow heigh for TextInput #60842
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
base: main
Are you sure you want to change the base?
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@parasharrajat Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
670f5db
to
66a84ca
Compare
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@Nodonisko, which changes in the PR we almost reverted to what we did in the previous PR. I'm curious about how we will migrate both Android/IOS to native auto grow later, when upstream issues are fixed in Android?
|
Explanation of Change
I decided put back
onLayout
measuring on iOS introduced in #59078. It doesn't make sense to branch it for Android/iOS because with fix forautoGrowHeigh
it would add too much complexity toBaseTextInput
component for very little benefit of smaller overhead on iOS. WithonLayout
back it should fixautoGrowHeigh
.Once
TextInput
component on Android is fixed properly upstream we should migrate both Android/iOS to native auto grow to avoid onLayout overhead inBaseTextInput
.Fixed Issues
$ #60765
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop