Skip to content

[$500] Workspace - Selected contact with green tick is not scrolled up &shown while inviting members #30517

Closed

Description

@lanitochka17

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: 1.3.92-0
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: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Launch app
  2. Tap profile icon
  3. Tap Workspaces
  4. Tap on a Workspace
  5. Tap Members
  6. Tap on invite
  7. Scroll down little bit and select a member

Expected Result:

In workspace, while inviting members, when user scrolls down and selects a contact, the selected contact with green tick must be scrolled up &shown

Actual Result:

In workspace, while inviting members, when user scrolls down and selects a contact, the selected contact with green tick is not scrolled up &shown

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Android: Native
Bug6253339_1698414471746.WS_members.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01adbd2c2b60d2a242
  • Upwork Job ID: 1717912996294365184
  • Last Price Increase: 2023-11-03

Activity

  1. added
    External
    Daily
    Bug
    on Oct 27, 2023
  2. changed the title [-]Workspace - Selected contact with green tick is not scrolled up &shown while inviting members[/-] [+][$500] Workspace - Selected contact with green tick is not scrolled up &shown while inviting members[/+] on Oct 27, 2023
  3. melvin-bot commented on Oct 27, 2023

    @melvin-bot
  4. melvin-bot commented on Oct 27, 2023

    @melvin-bot

    Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  5. added
    Help Wanted
    on Oct 27, 2023
  6. melvin-bot commented on Oct 27, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  7. melvin-bot commented on Oct 27, 2023

    @melvin-bot

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

  8. dukenv0307 commented on Oct 27, 2023

    @dukenv0307
    Contributor

    Proposal

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

    In workspace, while inviting members, when user scrolls down and selects a contact, the selected contact with green tick is not scrolled up &shown

    What is the root cause of that problem?

    in mobile device, we’re not scrolling to the newly selected index when selecting an option deep down

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

    We should scroll to the newly selected index when selecting an option deep down, by calling scrollToIndex, to ensure the newly selected option will always be on screen.

    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.

  9. erquhart commented on Oct 27, 2023

    @erquhart
    Contributor

    Proposal

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

    The members list does not scroll to the top to show the selected member immediately after selection.

    What is the root cause of that problem?

    This seems to simply not have been implemented.

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

    Honestly, I think this needs more product design consideration. Scrolling up on select can be jarring, especially in a multi-select field where the user is trying to select multiple options. They have to scroll back down to where they were after each selection.

    If you want to maintain visibility of the selected options, I'd make the top section sticky to remain visible, but don't adjust scroll position so the user keeps their place.

    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.

  10. ZhenjaHorbach commented on Oct 27, 2023

    @ZhenjaHorbach
    Contributor

    Should be fixed in this MR
    #29848

    Since there was no dependence here before
    And the sections that we used inside this function were empty because useCallback didn't update the function
    What prevented calling scrollToLocation

    listRef.current.scrollToLocation({sectionIndex: adjustedSectionIndex, itemIndex, animated, viewOffset: variables.contentHeaderHeight});
    },
    // eslint-disable-next-line react-hooks/exhaustive-deps
    [flattenedSections.allOptions],
    );

  11. 3 remaining items

  12. strepanier03 commented on Nov 2, 2023

    @strepanier03
    Contributor

    Deployed to prod 8 hours ago but I'm out sick today so I'll test tomorrow.

  13. melvin-bot commented on Nov 3, 2023

    @melvin-bot

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

  14. melvin-bot commented on Nov 6, 2023

    @melvin-bot

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

  15. strepanier03 commented on Nov 6, 2023

    @strepanier03
    Contributor

    Forgot about this, testing now.

  16. strepanier03 commented on Nov 6, 2023

    @strepanier03
    Contributor

    I can confirm that this is working now, I am no longer able to reproduce the behavior this GH was created for.

  17. strepanier03 commented on Nov 6, 2023

    @strepanier03
    Contributor

    @sobitneupane - I believe we can just close this now as it was an internal report and we didn't hire a contributor to fix this.

    If you have no objections I'm going to close this out at the end of the day or tomorrow morning.

  18. sobitneupane commented on Nov 7, 2023

    @sobitneupane
    Contributor

    Yup. Good to close.

  19. mvtglobally commented on Nov 9, 2023

    @mvtglobally

    Issue not reproducible during KI retests. (First week)

  20. strepanier03 commented on Nov 10, 2023

    @strepanier03
    Contributor

    Closing, thanks all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyExternalHelp Wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions