Skip to content

[$250] [Exploratory] Travel - Unable to continuously scroll the flight filter menu #89722

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.3.67-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/test-runs/TR-25793/folder/13177079/41237918/1391377875?sort=%2Bidentifier
Email or phone of affected tester (no customers): applausetester+up1@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Android 16 / Honor x6b
App Component: Other

Action Performed:

Precondition: Log in with Expensify account, create WS and enable Travel. Tap on FAB > Book travel. Use a device with a small screen size.

  1. Search a flight from "SEA" (Seattle–Tacoma International Airport) to "SFO" (San Francisco International Airport)
  2. Tap on "Search Flight"
  3. Tap on "Filters" to search "Alaska Airlines"
  4. Scroll up
    Result: Unable to continuously scroll the flight filter menu
  5. Scroll down
    Result: Filters menu gets stuck after one scroll gesture

Expected Result:

User can smoothly and continuously scroll through the filters menu without interruptions.

Actual Result:

Unable to continuously scroll the flight filter menul, the filters menu becomes unresponsive. The content appears stuck.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Video.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022056285637274500734
  • Upwork Job ID: 2056285637274500734
  • Last Price Increase: 2026-07-27

Activity

  1. added
    Bug
    and removed on May 18, 2026
  2. MelvinBot commented on May 18, 2026

    @MelvinBot
    Contributor

    Issue Analysis

    Root Cause: The travel booking UI is not built natively in the App — it's Spotnana's web application (travel.expensify.com) loaded inside a bare react-native-webview. The WebView has no special scroll-handling props (no nestedScrollEnabled, no overScrollMode, no injected JS). On Android — especially small screens — nested scrollable containers inside WebView content are a well-documented pain point: the outer WebView captures the scroll gesture and the inner filter panel never gets a chance to scroll continuously.

    Recommended Fix: Add nestedScrollEnabled to the WebView in TravelDotLinkWebview.tsx:33:

    <WebView
        ref={webViewRef}
        source={{uri: url}}
        style={styles.flex1}
        incognito
        nestedScrollEnabled
        originWhitelist={['https://*']}
    />

    This tells Android's NestedScrollingChild API to allow nested scroll containers within the WebView to handle their own scroll events. If this alone doesn't resolve the issue, injecting CSS via injectedJavaScript would be a follow-up option — but nestedScrollEnabled is the standard first fix for this class of Android WebView scroll bug.

    Note: If the scroll issue is entirely within Spotnana's CSS/JS (e.g., a fixed-height container with overflow: hidden), the fix would need to come from Spotnana's side. The nestedScrollEnabled prop only helps when the issue is Android WebView gesture interception vs. inner scrollable elements.

    Investigation details
    • The entire travel flow lives in a single file: TravelDotLinkWebview.tsx. On native platforms, tapping "Book travel" calls openTravelDotLink (index.native.ts), which navigates to this WebView.
    • The WebView loads https://travel.expensify.com/auth/code?... — Spotnana's travel portal authenticated via a token from buildTravelDotURL in Link.ts.
    • The bug is Android-only and on a small screen (Honor x6b), consistent with Android WebView scroll-interception issues that are exacerbated when content needs more scrollable area.
    • The issue is not reproducible on web because web opens the travel portal in a new browser tab, bypassing the WebView entirely.

    Next Steps: Reply with @MelvinBot implement this to create a draft PR, or @MelvinBot <your feedback> to refine this analysis.

  3. added
    External
    on May 18, 2026
  4. added
    Help Wanted
    on May 18, 2026
  5. melvin-bot commented on May 18, 2026

    @melvin-bot

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

  6. changed the title [-][Exploratory] Travel - Unable to continuously scroll the flight filter menu[/-] [+][$250] [Exploratory] Travel - Unable to continuously scroll the flight filter menu[/+] on May 18, 2026
  7. melvin-bot commented on May 18, 2026

    @melvin-bot
  8. KJ21-ENG commented on May 18, 2026

    @KJ21-ENG
    Contributor

    Proposal

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

    On Android native, the Expensify Travel flight filter sheet cannot be scrolled continuously on small screens. After opening Filters on the flight search results page, normal vertical drags only move the sheet sporadically or stop moving it entirely, so users cannot reliably reach/select lower filter options such as Airlines.

    What is the root cause of that problem?

    The travel booking flow is rendered inside the native TravelDotLinkWebview, which embeds Spotnana's travel.expensify.com app in react-native-webview.

    That WebView is mounted inside Expensify's React Native screen wrapper, but it does not enable Android nested scroll handling. In react-native-webview@13.16.0, nestedScrollEnabled defaults to false; when enabled, Android WebView touch events call requestDisallowInterceptTouchEvent(true). Without it, the surrounding RN view hierarchy can keep intercepting/reclaiming the gesture stream while the user is dragging an inner scrollable web element like Spotnana's filter bottom sheet. This matches the issue video: the sheet opens and sometimes advances by one small amount, then repeated vertical drags leave the same filter rows stuck on screen.

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

    Enable Android nested scrolling on the travel WebView:

    <WebView
        ref={webViewRef}
        source={{uri: url}}
        style={styles.flex1}
        incognito
        nestedScrollEnabled
        originWhitelist={['https://*']}
    />

    This keeps the fix scoped to the native travel portal wrapper and lets the WebView keep ownership of touch drags while Spotnana's in-page sheet is scrolling. It should not affect web/mWeb because those platforms open Travel outside this native WebView path.

    What alternative solutions did you explore? (Optional)

    We could inject JavaScript/CSS into the Spotnana page to force specific filter-sheet overflow styles, but that is brittle because the DOM/classes are owned by the travel web app and can change independently. Updating the WebView gesture configuration is the lower-risk App-side fix for an Android-only WebView scrolling failure.

    If enabling nestedScrollEnabled does not fully resolve the issue, the next investigation should move to Spotnana's sheet implementation, because the remaining failure would be inside the hosted web app rather than in Expensify's native wrapper.

  9. 52 remaining items

  10. added
    Daily
    and removed
    Weekly
    on Jul 18, 2026
  11. github-actions commented on Jul 18, 2026

    @github-actions
    Contributor

    ⚠️ @lorretheboy Your proposal is a duplicate of an already existing proposal and has been automatically withdrawn to prevent spam. Please review the existing proposals before submitting a new one.

  12. melvin-bot commented on Jul 20, 2026

    @melvin-bot

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

  13. melvin-bot commented on Jul 21, 2026

    @melvin-bot

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

  14. melvin-bot commented on Jul 23, 2026

    @melvin-bot

    @mananjadhav Eep! 4 days overdue now. Issues have feelings too...

  15. mvtglobally commented on Jul 25, 2026

    @mvtglobally

    Issue not reproducible during KI retests. (Second week)

  16. melvin-bot commented on Jul 27, 2026

    @melvin-bot

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

  17. stitesExpensify commented on Jul 27, 2026

    @stitesExpensify
    Contributor

    This is controlled by Spotnana not us, and it is not reproducible. Closing

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

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions