fix: iOS Hybrid - Native share - Switching between Submit and Share causes keyboard to lose focus.#63741
Conversation
…auses keyboard to lose focus. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
Please fix the conflicts. |
|
@c3024, I think we should hold on this issue. |
|
Okay. Please add it in the title. |
|
@Krishna2323 @c3024 #63913 (comment) Merged into the main |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
46476bb to
eaa96d9
Compare
…uts. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@c3024, after merging main, the solution I initially implemented stopped working. Despite multiple attempts, I couldn’t get it to work again. I noticed that we are using App/src/pages/NewChatSelectorPage.tsx Lines 42 to 55 in 8f00485 |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
With the changes to Screen.Recording.2025-06-30.at.12.27.28.PM.mov |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@c3024 ^ issue fixed |
|
This PR introduced a behavior where the text input should be focused only after the contact import modal is dismissed on native apps. However, the current changes in the PR focus the input even before the modal is dismissed, resulting in unexpected behavior where the on-screen keyboard opens over the contact import modal: Screen.Recording.2025-07-04.at.12.32.01.PM.movSteps to reproduce (on iOS app_: |
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@c3024, ^ issue fixed now: Monosnap.screencast.2025-07-04.23-49-53.mp4Monosnap.screencast.2025-07-04.23-52-55.mp4 |
|
I am seeing this Not found page on create expense flow on Android. Does not seem related to this PR but it does not exist on main also. Could you merge main into this branch? Screen.Recording.2025-07-07.at.6.57.30.AM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppshareAndroid.movAndroid: mWeb ChromeshareAndroidmWeb.moviOS: HybridAppshareiOS.moviOS: mWeb SafarishareiOSmWeb.movMacOS: Chrome / SafarishareChrome.movMacOS: DesktopshareDesktop.mov |
|
✋ 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/amyevans in version: 9.1.78-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.78-4 🚀
|
| onFocusTextInput={() => { | ||
| setTextInputAutoFocus(true); | ||
| selectionListRef.current?.focusTextInput?.(); | ||
| }} |
There was a problem hiding this comment.
This line causes: #70626
More details:
#70626 (comment)
Explanation of Change
Fixed Issues
$ #62206
PROPOSAL: #62206 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android_native.mp4
Android: mWeb Chrome
iOS: Native
ios_native.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop