Skip to content

[$250] mweb Safari - Chat - "Add attachment" is truncated or hidden if setting text size largest #71559

Closed

Description

@jponikarchuk

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.2.20-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: Explore
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: iPhone 16 pro/ 18.6.2
App Component: Chat Report View

Action Performed:

Precondition: Setting text size of device is large

  1. Open https://staging.new.expensify.com
  2. Navigate to any 1:1 conversation
  3. Tap on + button
  4. Observe "Add attachment"

Expected Result:

"Add attachment" should fit on screen

Actual Result:

On my device, "Add attachment" is truncated or hidden if setting the text size largest

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

11.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021978439774010211972
  • Upwork Job ID: 1978439774010211972
  • Last Price Increase: 2025-11-05
Issue OwnerCurrent Issue Owner: @abdulrahuman5196

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Sep 30, 2025
  2. melvin-bot commented on Sep 30, 2025

    @melvin-bot

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

  3. bernhardoj commented on Oct 1, 2025

    @bernhardoj
    Contributor

    Proposal

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

    The composer menu items are not fully shown.

    What is the root cause of that problem?

    This can easily be reproduced when using iPhone SE where the screen height is smaller. The popover menu by default has a max height,

    const menuContainerStyle = useMemo(() => {
    if (isSmallScreenWidth) {
    return shouldEnableMaxHeight ? {maxHeight: windowHeight - 250} : {};
    }
    return styles.createMenuContainer;

    and not scrollable.

    shouldUseScrollView = false,

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

    We can disable the max height.

    shouldEnableMaxHeight={false}
    

    OR

    Enable the scroll view.

    shouldUseScrollView
    

    <PopoverMenu
    animationInTiming={menuItems.length * 50}
    // The menu should close 2/3 of the time it took to open
    animationOutTiming={menuItems.length * 50 * 0.66}
    isVisible={isMenuVisible && isFocused}
    onClose={onPopoverMenuClose}
    onItemSelected={(item, index) => {
    setMenuVisibility(false);
    onItemSelected();
    // In order for the file picker to open dynamically, the click
    // function must be called from within a event handler that was initiated
    // by the user on Safari.
    if (index === menuItems.length - 1) {
    if (isSafari()) {
    triggerAttachmentPicker();
    return;
    }
    close(() => {
    triggerAttachmentPicker();
    });
    }
    }}
    anchorPosition={styles.createMenuPositionReportActionCompose(shouldUseNarrowLayout, windowHeight, windowWidth)}
    anchorAlignment={{
    horizontal: CONST.MODAL.ANCHOR_ORIGIN_HORIZONTAL.LEFT,
    vertical: CONST.MODAL.ANCHOR_ORIGIN_VERTICAL.BOTTOM,
    }}
    menuItems={menuItems}
    anchorRef={actionButtonRef}
    />

    What alternative solutions did you explore? (Optional)

    We can set the default value of shouldUseScrollView based on shouldEnableMaxHeight.

    shouldUseScrollView = shouldEnableMaxHeight
    

    shouldUseScrollView = false,

  4. melvin-bot commented on Oct 13, 2025

    @melvin-bot

    @heyjennahay 12 days overdue now... This issue's end is nigh!

  5. melvin-bot commented on Oct 13, 2025

    @melvin-bot

    @heyjennahay 12 days overdue. Walking. Toward. The. Light...

  6. heyjennahay commented on Oct 15, 2025

    @heyjennahay
    Contributor

    @jponikarchuk just to make sure I understand the bug report, based on your screen recording the issue is that Add attachment option is cut off in the menu when the text size is large and you're not able to scroll down to it?

  7. jponikarchuk commented on Oct 15, 2025

    @jponikarchuk
    Author

    @heyjennahay Yes, when the text size is large, attachment option is hidden and I'm not able to scroll down to it

    ScreenRecording_10-15-2025.15-20-05_1.1.mp4
  8. heyjennahay commented on Oct 15, 2025

    @heyjennahay
    Contributor

    Ok thanks for clarifying, agree this is a bug that we should fix

  9. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Oct 15, 2025
  10. changed the title [-]mweb Safari - Chat - "Add attachment" is truncated or hidden if setting text size largest[/-] [+][$250] mweb Safari - Chat - "Add attachment" is truncated or hidden if setting text size largest[/+] on Oct 15, 2025
  11. melvin-bot commented on Oct 15, 2025

    @melvin-bot
  12. 13 remaining items

  13. melvin-bot commented on Oct 29, 2025

    @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 Oct 30, 2025

    @melvin-bot

    @abdulrahuman5196 Whoops! This issue is 2 days overdue. Let's get this updated quick!

  15. mvtglobally commented on Nov 1, 2025

    @mvtglobally

    Issue not reproducible during KI retests. (First week)

  16. abdulrahuman5196 commented on Nov 3, 2025

    @abdulrahuman5196
    Contributor

    Issue not reproducible during KI retests. (First week)

    @bernhardoj / @heyjennahay Able to repro this? I am still unable to repro this?

  17. bernhardoj commented on Nov 3, 2025

    @bernhardoj
    Contributor

    I can't repro anymore either. Looks like it's not repro anymore after #72530.

  18. melvin-bot commented on Nov 5, 2025

    @melvin-bot

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

  19. mvtglobally commented on Nov 8, 2025

    @mvtglobally

    Issue not reproducible during KI retests. (Second week)

  20. abdulrahuman5196 commented on Nov 11, 2025

    @abdulrahuman5196
    Contributor

    @heyjennahay I don't think this issue is reproducible anymore. We can check and close this

  21. heyjennahay commented on Nov 11, 2025

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions