-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOU - Distance tab flickering to manual & back to distance every time when add destination #47885
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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-view
library. 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 expense
flowOffline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: mWeb Chrome
ANDROID.CHROME.mov