-
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
[Payment due 2024-09-09][$250] [Xero] Tapping "Other integrations" in accounting page slight flashing / janky animation #43397
Comments
Triggered auto assignment to @lschurr ( |
CC: @rushatgabhane @mananjadhav @hungvu193 seen this before? |
@trjExpensify haven't seen before but i can reproduce this janky-ness |
Job added to Upwork: https://www.upwork.com/jobs/~01894cdf15ac4a5e92 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Pujan92 ( |
Let's send it external then! |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is a slight flashing/janky animation of the collapse component What is the root cause of that problem?The bug is in There's a condition mismatch between https://github.com/oblador/react-native-collapsible/blob/2bd7f8d50c2f3d876119bc65da8e7681c38563ad/Collapsible.js#L188 and https://github.com/oblador/react-native-collapsible/blob/2bd7f8d50c2f3d876119bc65da8e7681c38563ad/Collapsible.js#L194. The Right after that the So the root cause is that although the What changes do you think we should make in order to solve the problem?Make the condition between https://github.com/oblador/react-native-collapsible/blob/2bd7f8d50c2f3d876119bc65da8e7681c38563ad/Collapsible.js#L188 and https://github.com/oblador/react-native-collapsible/blob/2bd7f8d50c2f3d876119bc65da8e7681c38563ad/Collapsible.js#L194 consistent. If This condition can be updated to:
The To test this locally, please modify the same condition in What alternative solutions did you explore? (Optional)Update the logic here https://github.com/oblador/react-native-collapsible/blob/2bd7f8d50c2f3d876119bc65da8e7681c38563ad/Collapsible.js#L189-L192 so if
Or just
As when |
ProposalPlease re-state the problem that we are trying to solve in this issue:The problem is that when a user navigates to "Other integrations" in the accounting section of the workspace, the animation is not smooth. Instead, there is a slight flashing animation. What is the root cause of that problem?The root cause of the janky animation could be due to:
What changes do you think we should make in order to solve the problem?
Example of changes:
Alternative solutions ?
Please note that the above explanation outlines only the technical approach I plan to take. If my proposal gets accepted, I will submit the finalized solution, as mentioned. Thanks! |
@Pujan92 can you take a look at the proposals here? |
As @truph01's mentioned in their proposal the bug seems to be in I agree with @truph01's RCA where due to those conditions the content gets rendered before the parent View style has been assigned. I like their alternative solution to provide 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @neil-marcellini, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@neil-marcellini - can you take a quick look at this one? |
Sounds good, hiring @truph01 |
📣 @Pujan92 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
@Pujan92 Do you have any updates here? |
I got a response on 25th July -- I am, but on another business trip 🙈 Would it help if I pushed a branch where I reproduce the blinking? I have requested them to share the branch once they push, but seems they are quite busy so let's wait. |
@Pujan92 Did the author respond? |
Any update @Pujan92? |
@Pujan92 If the author is not available to review the PR, we can consider creating a patch. What do you think? |
Yes, we can consider that option as PR review in lib is taking a long. WDYT @neil-marcellini? |
What do you think about this idea @neil-marcellini ? |
Still waiting for a response from @neil-marcellini. |
Yeah let's do a patch since it's been a while and the maintainer is unresponsive, please go ahead and create a PR. |
@truph01 Seems our changes are causing an issue oblador/react-native-collapsible#479 where the content isn't rendered if the initial value for the expanded is true, Let's try to find and fix it. |
@Pujan92 I am investigating the RCA |
Update: I am trying to find the RCA. Also, I tried applying other solutions mentioned in here but still encountered different problems. |
PR was deployed to production on 31/8/2024, maybe Melvin-bot does not work in this case. |
Ok, thanks! Just clarifying, this PR fixed the bug right? And then we take this other one off hold? |
Payment summary:
|
I just want to point out: To fix this issue, we need to submit a PR to the react-native-collapsible library. Once that PR is merged, our Expensify app work correctly. However, other users who use the react-native-collapsible library encountered a new issue when upgrading the lib's version to 1.6.2 and react-native's version to 0.74.5, and we are still investigating the root cause along with other users. |
$250 approved for @Pujan92 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.81-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1718032595682989
Action Performed:
Have a QBO connection
Expected Result:
There should be smooth animation
Actual Result:
There is a slight flashing/janky animation
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
RPReplay_Final1718021277.MP4
QABH6834.1.MP4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: