Fix Slow Chat Switcher issue#43099
Conversation
|
@aimane-chnaif 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] |
|
Ready for review |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Reviewer Checklist
Screenshots/VideosiOS: NativeiOS: mWeb SafariMacOS: Chrome / Safariweb.movMacOS: Desktop |
|
Not everywhere, but I think we can for the mentioned page. We can't use it for pages with SelectionList that have the option to go directly to another page and then return (to avoid recreating this bug) or we can decide for all pages which error is more annoying. |
|
@aimane-chnaif @filip-solecki what is left here to do. @aimane-chnaif have you found any regressions? |
|
I think we need some decision if we want to remove focus delaying on other pages. So far no regressions found I think |
|
@filip-solecki As you mentioned, we should do it wherever it's "simple" and the selectionList is not used. I think that this page is the main problem, though, as you can open it with a shortcut, and as such, you also can start typing the fastest after it opens, and the bug is visible the most. So I would prioritize getting this PR with current scope merged and then applying a similar fix in other flows |
|
Sounds good to me, the fix for other pages is to add |
|
Lets focus on this page so its easier to debug too in case any issues arise |
|
✋ 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 production by https://github.com/mountiny in version: 1.4.83-3 🚀
|



According to my comment and replies we decided to go with removing TextInput focus delay.
Details
Fixed Issues
$ #28071
PROPOSAL:
Tests
cmd + kOffline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop