Fix StartChat screen transition stuttering#34495
Conversation
|
Questions
|
Here is a recording that shows undesired behaviour: unwanted-focus.mov |
|
Recording of the current state:
tabs-disappear.mov |
e09b09d to
4da7fda
Compare
|
cc @shubham1206agra could you please review this PR? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-01.at.1.45.44.PM.movAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-02-01.at.1.37.49.PM.moviOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-02-01.at.1.23.42.PM.movMacOS: DesktopScreen.Recording.2024-02-01.at.1.32.22.PM.mov |
robertjchen
left a comment
There was a problem hiding this comment.
Agreed with the short-term fix/workaround, but we definitely should raise these points in Slack for discussion.
|
✋ 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/marcaaron in version: 1.4.36-5 🚀
|
Details
Based on investigation, it looks like input from Room screen is being focused by the timer when switching to Chat screen, resulting in blinking of the former screen right after the transition.
This is only a quick-fix, for further details please check comment below.
Fixed Issues
$ #34377
PROPOSAL: #34377 (comment)
Tests
Please check recording in the proposal to see exact behaviour.
Offline tests
n/a
QA Steps
Please check recording in the proposal to see exact behaviour.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.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 so 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.mp4
Android: mWeb Chrome
mandroid.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4