IOU - Distance tab flickering to manual & back to distance every time when add destination#47885
Conversation
|
@mananjadhav 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] |
|
I think the patch code looks fine. Will test this today. |
|
@mananjadhav any updates? |
|
I am offline for a few hours for system repair. But I will finish this before end of day. |
|
|
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-distance-tab.movAndroid: mWeb Chromemweb-chrome-distance-tab.moviOS: Nativeios-distance-tab.moviOS: mWeb Safarimweb-safari-distance-tab.movMacOS: Chrome / Safariweb-distance-tab.movMacOS: Desktopdesktop-distance-tab.mov |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #46346 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
thienlnam
left a comment
There was a problem hiding this comment.
Let's see how this does
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Looks like this changes caused a bug with incorrect behaviour after dragging tabs 363031321-1f69ace2-18de-481d-b69b-b6ded65f7ccf.mp4After removing patch everything works |
|
Since the patch did disrupt the tab dragging behavior I think we should revert this PR and I'll find a way to correct the fix while having the tab switch case in mind so both of the flows will work properly. cc @thienlnam |
|
Yup, let's do that - I'll spin up the revert PR |
|
🚀 Deployed to staging by https://github.com/thienlnam in version: 9.0.27-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.27-1 🚀
|
Details
Fix flicker on the tab view component caused by the value dictating the selected tab being influenced by layout width and height, which for a render resets to 0, setting it to the first tab.
This is a temporary patch fix
This is a temporary fix with a patch for the
react-native-tab-viewlibrary. I will raise another PR with this fix in the repository of the library itself, so we can later remove the patch locally after bumping up the updated lib.Fixed Issues
$ #46346
PROPOSAL:
Tests
Submit expenseflowOffline 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: mWeb Chrome
ANDROID.CHROME.mov