fix: First character of search input often missing when typing quickly after Cmd+K.#69316
Conversation
…y after Cmd+K. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
|
@hungvu193 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] |
|
@hungvu193 sorry for the bump 🙏🏻, @allgandalf will review this. |
|
What the hell, why did I got assiged here lol |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
| /** We added a delay to focus on text input to allow navigation/modal animations to get completed, see issue https://github.com/Expensify/App/issues/65855 for more details */ | ||
| useFocusEffect( | ||
| useCallback(() => { | ||
| if (!isNative) { |
There was a problem hiding this comment.
@mountiny @Krishna2323 now i'm not quite sure if this is a solution we should pursue , I think at this point, we need to revert the original changes and then bring up a discussion and @Krishna2323 should post a P/S statement in open source channel, what do you think ?
Mainly because i think we tried to fix a deploy blocker at that time, but didn't think it through since now we are applying the fix to the search router instead of text input
There was a problem hiding this comment.
Yeah I agree, I think we should revert both of the PRs as the end state is worse than where we started. Can you handle that please or should I?
There was a problem hiding this comment.
@mountiny changes from both PR's have been removed. Please review the PR changes.
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
trjExpensify
left a comment
There was a problem hiding this comment.
Did this discussion get created? #69316 (comment)
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.2.1-0 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.1-20 🚀
|
Explanation of Change
Fixed Issues
$ #69034
PROPOSAL: N/A
Tests
On web/mWeb:
Offline tests
On web/mWeb:
QA Steps
On web/mWeb:
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_chrome.mp4
Android: mWeb Chrome
android_chrome_r.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4