-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix: 10731 #50279
fix: 10731 #50279
Conversation
@DylanDylann 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] |
@@ -73,6 +73,7 @@ function Composer( | |||
isComposerFullSize = false, | |||
shouldContainScroll = true, | |||
isGroupPolicyReport = false, | |||
showSoftInputOnFocus = true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the change compared to the previous PR. In this PR, we add the default value is true for showSoftInputOnFocus
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-07.at.18.01.47.movAndroid: mWeb ChromeScreen.Recording.2024-10-07.at.18.02.20.moviOS: NativeScreen.Recording.2024-10-07.at.18.02.59.moviOS: mWeb SafariScreen.Recording.2024-10-07.at.18.04.14.movMacOS: Chrome / SafariScreen.Recording.2024-10-07.at.18.03.48.movMacOS: DesktopScreen.Recording.2024-10-07.at.18.06.12.mov |
Same here: #32711 (comment)
|
src/components/Composer/index.tsx
Outdated
@@ -388,6 +389,7 @@ function Composer( | |||
value={value} | |||
defaultValue={defaultValue} | |||
autoFocus={autoFocus} | |||
inputMode={!showSoftInputOnFocus ? 'none' : 'text'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB, I think removing the negation makes it clearer:
inputMode={!showSoftInputOnFocus ? 'none' : 'text'} | |
inputMode={showSoftInputOnFocus ? 'text' : 'none'} |
src/components/Composer/types.ts
Outdated
|
||
showSoftInputOnFocus?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't this need a description?
ESLint check failed |
@DylanDylann @iwiznia I updated the PR |
Maybe I could, but in the previous PR we also said this:
And I don't see we did it, since it is appearing here again in the same file. |
So, I think we can either:
I am fine with either, but I don't think I want to keep kicking the can on fixing this usage of withOnyx |
@DylanDylann It's ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@iwiznia All yours |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/iwiznia in version: 9.0.48-0 🚀
|
hi friends, looks like this caused #50722 - can you take a look? (I bisected). I think the keyboard is popping up and immediately hiding when you change the pay method. I'll look too but wanted to call out |
Also caused this one #50683 |
@christianwen Please help to check these problems |
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.48-2 🚀
|
Details
Fixed Issues
$ #10731
PROPOSAL: #10731 (comment)
Tests
Offline tests
Same as above
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
Screen.Recording.2024-10-05.at.11.39.47.mov
Android: mWeb Chrome
Screen.Recording.2024-10-05.at.11.35.48.mov
iOS: Native
Screen.Recording.2024-10-05.at.11.36.57.mov
iOS: mWeb Safari
Screen.Recording.2024-10-05.at.11.29.00.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-05.at.11.00.27.mov
MacOS: Desktop
Screen.Recording.2024-10-05.at.11.42.27.mov