Add Keyboard disable and autogrow functionality to TextInput component#7318
Add Keyboard disable and autogrow functionality to TextInput component#7318puneetlath merged 19 commits intoExpensify:mainfrom
Conversation
rushatgabhane
left a comment
There was a problem hiding this comment.
Overall, looks good to me and tests well.
Just some style changes.
|
LGTM! 🎉 |
|
@puneetlath Any thoughts? |
|
@puneetlath Waiting for your review. |
|
Sorry for the delay. It looks good to me! Looks like you have one merge conflict. And before I merge, I just want to confirm - @parasharrajat @rushatgabhane both of you have tested on all platforms? |
|
I'll test once again after the merge conflicts have been resolved. |
|
I will retest it and attach screenshots for all for visibility. |
|
Updated screens and conflict resolved. |
|
Great. @rushatgabhane have you tested as well? |
|
Sorry for the delay. Placeholder color looks wrong for IOUAmountPage |
There was a problem hiding this comment.
Hmm, this is werid. Validation for IOUAmount isn't working anymore. I can input letters.
main is working fine.
@parasharrajat can you merge main again to see if gets fixed?
|
I will update this by tomorrow. Sorry for delay. |
|
Here is what I am planning on to fix the issue. Explanation:
So I have moved the check to Pushing the changes for @rushatgabhane to test. Please test some other inputs in our app. I don't think anything is breaking but just to be sure. |
|
|
||
| componentDidUpdate(prevProps) { | ||
| componentDidUpdate() { | ||
| // activate or deactivate the label when value is changed programmatically from outside |
There was a problem hiding this comment.
Not a blocker: Comment should start with a captial letter 😅
There was a problem hiding this comment.
Thanks so much for the detailed and simple explanation @parasharrajat 👏
@puneetlath Looks great, and tests well on all platforms.
|
@rushatgabhane Have you tested some other inputs in our app just to make sure it does not break anything? I have tested but another set of eyes is helpful. |
|
@parasharrajat Yep, I've tested all types of inputs throughout the app twice. Nothing is broken |
|
Just one question from me @parasharrajat. Almost ready to merge! |
|
Gentle bump @puneetlath. Let's merge this so that I can proceed to the next milestone. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
I think I incorrectly refactored a small recent change while merging main. It does not create any issue but I will correct that in my next PR. |
|
I think this PR may have caused a regression when using @parasharrajat would you mind taking a look? |
|
Sure @luacmartins. I will and I also have a small change to be made. I will create the PR asap. |
|
🚀 Deployed to staging by @puneetlath in version: 1.1.39-0 🚀
|


Details
TextInputAutoWidthWithoutKeyboard This can be easily merged.
Purpose of component
Fixed Issues
$ #6584
Tests | QA Steps
a. Focus on input and cursor is shown.
b. Height and font styles are not changed.
c. Input is functioning correctly as before.
d. Keyboard does not show up on focusing on the amount input.
Tested On
Screenshots
Web
Desktop
Mobile Web
iOS
Android