Skip to content
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

[$250] Workspace - Unable to scroll the page &skeleton pattern differs #53917

Open
2 of 8 tasks
IuliiaHerets opened this issue Dec 11, 2024 · 16 comments
Open
2 of 8 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Dec 11, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: V9. 0.74-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
Issue reported by: Applause Internal Team

Action Performed:

  1. Launch app in both mweb and android
  2. Go to workspace settings - categories
  3. Select all category and delete it
  4. Note the skeleton pattern above and below image
  5. Try to scroll the page

Expected Result:

Skeleton pattern above& below must be same and scrolling of page must also be consistent in mweb and android.

Actual Result:

Skeleton pattern above& below is different in mweb and android. Then user can scroll the page in mweb but cannot scroll in android.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6690650_1733900974621.Screenrecorder-2024-12-11-12-31-56-638_compress_1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021869126524576530268
  • Upwork Job ID: 1869126524576530268
  • Last Price Increase: 2024-12-31
Issue OwnerCurrent Issue Owner: @eVoloshchak
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 11, 2024
Copy link

melvin-bot bot commented Dec 11, 2024

Triggered auto assignment to @CortneyOfstad (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@bernhardoj
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Inconcistency scroll behavior between native and mWeb.

What is the root cause of that problem?

The empty view component is wrapped with a ScrollView.

return (
<ScrollView
showsVerticalScrollIndicator={showsVerticalScrollIndicator}
contentContainerStyle={[{minHeight: minModalHeight}, styles.flexGrow1, styles.flexShrink0, containerStyles]}
style={styles.flex1}
>
<View style={styles.skeletonBackground}>
<SkeletonComponent
gradientOpacityEnabled
shouldAnimate={false}
/>

It was added for this. In our case here, the view becomes scrollable when the skeleton items amount is bigger than the container can hold because we use ceil, so it's overflown.

const newNumItems = Math.ceil(totalHeight / totalItemHeight);

It behaves differently between native and mWeb because the mWeb screen height is smaller, so the skeleton amount also differs.

What changes do you think we should make in order to solve the problem?

We have 2 options. First, we can add a new props to ItemListSkeletonView so we use Math.floor instead of Math.ceil so the skeleton items won't ever overflown the container.

The 2nd one is to set the skeleton background view overflow to hidden.

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

N/A

@CortneyOfstad
Copy link
Contributor

Still working on testing this

@melvin-bot melvin-bot bot added the Overdue label Dec 16, 2024
Copy link

melvin-bot bot commented Dec 16, 2024

@CortneyOfstad Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@CortneyOfstad CortneyOfstad added the External Added to denote the issue can be worked on by a contributor label Dec 17, 2024
@melvin-bot melvin-bot bot changed the title Workspace - Unable to scroll the page &skeleton pattern differs [$250] Workspace - Unable to scroll the page &skeleton pattern differs Dec 17, 2024
Copy link

melvin-bot bot commented Dec 17, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021869126524576530268

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 17, 2024
Copy link

melvin-bot bot commented Dec 17, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

@melvin-bot melvin-bot bot removed the Overdue label Dec 17, 2024
@CortneyOfstad
Copy link
Contributor

Hey @eVoloshchak! I was able to recreate, and it looks like we have a proposal here for review when you have a chance. Thanks!

@CortneyOfstad
Copy link
Contributor

Hey @eVoloshchak! Just a heads up that I will be OOO starting this afternoon (December 20th) and will be returning January 6th. A handful of folks on the BZ team will be online for a few days in between the 25th and the 1st, but we'll be operating with a skeleton crew. If any action is needed from a BZ perspective, please post this issue in #expensify-open-source and someone on the team will jump in. Otherwise, I will review when I'm back in office.

Thank you and Happy Holidays!

@melvin-bot melvin-bot bot added the Overdue label Dec 20, 2024
@muttmuure muttmuure moved this to MEDIUM in [#whatsnext] #quality Dec 23, 2024
Copy link

melvin-bot bot commented Dec 23, 2024

@eVoloshchak, @CortneyOfstad Huh... This is 4 days overdue. Who can take care of this?

Copy link

melvin-bot bot commented Dec 24, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

Copy link

melvin-bot bot commented Dec 25, 2024

@eVoloshchak @CortneyOfstad this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

Copy link

melvin-bot bot commented Dec 25, 2024

@eVoloshchak, @CortneyOfstad 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

Copy link

melvin-bot bot commented Dec 27, 2024

@eVoloshchak, @CortneyOfstad Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

Copy link

melvin-bot bot commented Dec 31, 2024

@eVoloshchak, @CortneyOfstad 12 days overdue now... This issue's end is nigh!

Copy link

melvin-bot bot commented Dec 31, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot removed the Daily KSv2 label Jan 3, 2025
Copy link

melvin-bot bot commented Jan 3, 2025

This issue has not been updated in over 14 days. @eVoloshchak, @CortneyOfstad eroding to Weekly issue.

@melvin-bot melvin-bot bot added the Weekly KSv2 label Jan 3, 2025
@melvin-bot melvin-bot bot removed the Overdue label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Weekly KSv2
Projects
Development

No branches or pull requests

4 participants