Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.55k stars 2.9k forks source link

[$250] iOS - Scroll bar is moved to the left side and is overlapping with elements #49456

Open izarutskaya opened 1 month ago

izarutskaya commented 1 month ago

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: 9.0.38-0 Reproducible in staging?: Y Reproducible in production?: Y Found when validation PR: https://github.com/Expensify/App/pull/49239 Logs: https://stackoverflow.com/c/expensify/questions/4856 Issue reported by: Applause-Internal team

Action Performed:

  1. Open the app
  2. Log in with any Gmail account
  3. Tap on Navigate to Search - Filters - Date
  4. Scroll up and down

Expected Result:

Scroll bar should be on the right side of the app, next to the edge.

Actual Result:

Scroll bar is moved to the left side and is overlapping with elements.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Screenshots/Videos

https://github.com/user-attachments/assets/cdb6f560-e52f-4054-bdd1-040a1d99d4df

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021837166890649438945
  • Upwork Job ID: 1837166890649438945
  • Last Price Increase: 2024-09-20
  • Automatic offers:
    • ishpaul777 | Contributor | 104058249
    • ChavdaSachin | Contributor | 104061970
Issue OwnerCurrent Issue Owner: @ishpaul777
melvin-bot[bot] commented 1 month ago

Triggered auto assignment to @abekkala (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.

melvin-bot[bot] commented 1 month ago

πŸ“£ @websquadpro! πŸ“£ Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details. Screen Shot 2022-11-16 at 4 42 54 PM Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
izarutskaya commented 1 month ago

We think this issue might be related to the #collect project.

ChavdaSachin commented 1 month ago

Edited by proposal-police: This proposal was edited at 2024-09-19 11:32:49 UTC.

Proposal

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

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

What alternative solutions did you explore? (Optional)

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

zfurtak commented 1 month ago

Hey! I’m Zuzanna Furtak from Software Mansion, an expert agency, and I’d like to work on this issue! Our team has been working on the search filters, so it should be a smooth process to debug them.

melvin-bot[bot] commented 1 month ago

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

melvin-bot[bot] commented 1 month ago

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

melvin-bot[bot] commented 1 month ago

πŸ“£ @ishpaul777 πŸŽ‰ An offer has been automatically sent to your Upwork account for the Contributor role πŸŽ‰ Thanks for contributing to the Expensify app!

Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review πŸ§‘β€πŸ’» Keep in mind: Code of Conduct | Contributing πŸ“–

abekkala commented 1 month ago

Not sure why Melvin unassigned you @ishpaul777 You are the reviewer on this one. @zfurtak will be creating a fix

abekkala commented 1 month ago

Actually - @ishpaul777 can you first review the proposal that came in first.

Because that one was submitted first can you see if it's acceptable? If not then I can asisgn zfurtak to take this on

ishpaul777 commented 1 month ago

sure, it looks acceptable, since a similar issue was solved with same approach, @ChavdaSachin would you mind sharing a test branch with your solution, Thanks!

ChavdaSachin commented 1 month ago

@ishpaul777 in a while I will share

ishpaul777 commented 1 month ago

if it fixes the issue and there's no side effects, we'll assign you ofc.

BTW we are already migrating FormWrapper in this PR https://github.com/Expensify/App/pull/49358 but i have not noticed any PR that migrates FormProvider so that is something we can still do assuming it fixes this issue and no other PR migrating it is merged before ours

ishpaul777 commented 1 month ago

I tried reproducing this on my device it seems i could not reproduce the issue Scrollbar is on right as expected

https://github.com/user-attachments/assets/881c047c-d4b5-46f4-8956-6d3098704fa0

ChavdaSachin commented 1 month ago

Here's my test branch - https://github.com/ChavdaSachin/App/tree/fix-49456 (I took FormWrapper from https://github.com/Expensify/App/pull/49358)

[!note] Issue is generally reproducible if date page is loading for the first time, easily reproducible on emulator

Before

https://github.com/user-attachments/assets/a60127ae-395a-43ff-9b08-50139da9966b

After

https://github.com/user-attachments/assets/6403e7f8-930d-4185-84af-8d5f75295a38

ishpaul777 commented 1 month ago

Thanks for sharing branch, in your video and my testing on simulator it appears the that scroll is still on right but slight off and overlaps content for first time page loads. which i can verify is fixed with the migration from withOnyx -> useOnyx

Before:

https://github.com/user-attachments/assets/d681f95f-392d-4004-bb6c-2e4e847ddd0a

After:

https://github.com/user-attachments/assets/ad37eed4-222a-4739-bc77-161eb6ec282b

TBH, i am still confused how withOnyx is affecting scrollbar.

ishpaul777 commented 1 month ago

since this issue was previously solved with this approach https://github.com/Expensify/App/issues/48769#issue-2512440213, lets give this a shot and assign @ChavdaSachin

πŸŽ€ πŸ‘€ πŸŽ€ C+ reviewed

melvin-bot[bot] commented 1 month ago

Triggered auto assignment to @chiragsalian, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

chiragsalian commented 1 month ago

Cool lets do this. Feel free to create the PR @ChavdaSachin.

melvin-bot[bot] commented 1 month ago

πŸ“£ @ChavdaSachin πŸŽ‰ An offer has been automatically sent to your Upwork account for the Contributor role πŸŽ‰ Thanks for contributing to the Expensify app!

Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review πŸ§‘β€πŸ’» Keep in mind: Code of Conduct | Contributing πŸ“–

ishpaul777 commented 1 month ago

@ChavdaSachin let us know when we can expect a PR to be ready for review πŸ§‘β€πŸ’»

ChavdaSachin commented 1 month ago

I will raise pr within 24 hrs

ChavdaSachin commented 1 month ago

Today my friend met an accident and I am stuck in a medical emergency, I won't be able to work on this, please assign someone else for the job πŸ™. Sorry for the delay caused. sharing my latest branch - https://github.com/ChavdaSachin/App/tree/fix/49456-ios-scrollbar-overlaping Cc. @ishpaul777 @chiragsalian

ishpaul777 commented 1 month ago

We're really sorry to hear about your friend's accident and hope they recover quickly. Take care of yourself and your friend.


@zfurtak would you like to take over this issue from here

zfurtak commented 1 month ago

Hello, right now I have plenty of work but my colleague from swm @289Adam289 will take care of it first thing in the morning tomorrow

chiragsalian commented 1 month ago

Sorry about your friend. I hope they are alright. I've reassigned the issue to @289Adam289. Edit: Oh it looks like they need to comment on the issue once before i can assign it to them

289Adam289 commented 1 month ago

Hi! I am Adam from SWM, an expert agency and I'd like to work on this issue.

289Adam289 commented 1 month ago

While working on this issue I've noticed that storybook is not working even on main. I think fixing it is outside of the scope of this pr and it may require opening another issue.

ishpaul777 commented 1 month ago

Can we create a issue for this ^ @chiragsalian, not sure if we missing any thing in setup asked here https://expensify.slack.com/archives/C02NK2DQWUX/p1727459623902909

chiragsalian commented 1 month ago

Can we create a issue for this

Is it the same as the issue reported here - https://github.com/Expensify/App/issues/40041. Looks related right? And it looks like that issue is on hold for something else.

ishpaul777 commented 1 month ago

Nah, i think that is issue related with deployement of storybook, it should be running fine locally according to this https://expensify.slack.com/archives/C049HHMV9SM/p1714082116667919?thread_ts=1714064859.296509&cid=C049HHMV9SM (https://github.com/Expensify/App/issues/40041#issuecomment-2081660159)

melvin-bot[bot] commented 1 month ago

Triggered auto assignment to @lschurr (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.

abekkala commented 1 month ago

@lschurr I'm going ooo until Oct 20. Assigning a BZ buddy to this until I return and I can take it back

STATUS: This is on HOLD with current discussion on how to get to a fix.

ishpaul777 commented 3 weeks ago

Actually the issue in OP is fixed, so this should be ready for payment.


we were discussing a different issue that storybook is broken locally, so i beleive its not a priorty to fix since its broken on deployement. right? @chiragsalian

chiragsalian commented 3 weeks ago

the issue in OP is fixed, so this should be ready for payment.

Correct yes. Actually i just noticed the title has a HOLD on it. That's a mistake, clearing it.

we were discussing a different issue that storybook is broken locally, so i beleive its not a priorty to fix since its broken on deployement. right?

Yup i agree too. The storybook is a different issue. Our most recent discussion is if the storybook issue should be merged with https://github.com/Expensify/App/issues/40041 or if a new issue should be created. This is a post discussion. The code to solve this GH issue is resolved and was live 3 weeks back. @lschurr or @abekkala, can you handle payment.

i think that is issue related with deployement of storybook, it should be running fine locally according to this

Weird, okay I've created another issue. Can you fill in the details when you get a chance @ishpaul777.

abekkala commented 3 weeks ago

I'm back from ooo - unassigning @lschurr

ishpaul777 commented 3 weeks ago

Thanks for creating issue @chiragsalian, it seems good nothing for me to add, i'll review proposals there Thanks!

melvin-bot[bot] commented 2 weeks ago

@abekkala, @chiragsalian, @ishpaul777, @289Adam289 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

melvin-bot[bot] commented 2 weeks ago

@abekkala, @chiragsalian, @ishpaul777, @289Adam289 Eep! 4 days overdue now. Issues have feelings too...

abekkala commented 2 weeks ago

Oh I just realized there was a payment comment prior to me unassigning @lschurr

@ishpaul777 can you link the PR that fixed the OP here? I'd like to grab the names that require payment then we can close this one out

ishpaul777 commented 2 weeks ago

This one https://github.com/Expensify/App/pull/49700,

@289Adam289 (SWM) PR author @ishpaul777 (me) C+ role

abekkala commented 2 weeks ago

PAYMENT SUMMARY

Fix: @289Adam289 - swm, no upwork payment needed PR Review: @ishpaul777 [$250] Offer

melvin-bot[bot] commented 3 days ago

@abekkala, @chiragsalian, @ishpaul777, @289Adam289 Still overdue 6 days?! Let's take care of this!

melvin-bot[bot] commented 2 days ago

@abekkala, @chiragsalian, @ishpaul777, @289Adam289 Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

abekkala commented 13 hours ago

@ishpaul777 the offer has not been accepted yet - can you accept so that payment can be issued?

melvin-bot[bot] commented 16 minutes ago

@abekkala, @chiragsalian, @ishpaul777, @289Adam289 10 days overdue. Is anyone even seeing these? Hello?