Skip to content

Update or document RefreshIndicator behavior on desktop #135510

Closed
flutter/packages
#13286

Description

@HansMuller

The RefreshIndicatorExamples, notably the second example, fail on desktop and web because they don't respond to drag gestures.

Presumably this is related to, #81569, introduced in Flutter 2.5, and documented in https://docs.flutter.dev/release/breaking-changes/default-scroll-behavior-drag.

Similar issue: #135188

Activity

  1. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    f: scrollingViewports, list views, slivers, etc.
    on Sep 26, 2023
  2. Piinks commented on Sep 26, 2023

    @Piinks
    Contributor

    AFAIK pull down to refresh is not an expected desktop interaction, since users typically do not drag content. I think there is another issue that discusses desktop-related features the indicator could support I will look for it.

  3. changed the title [-]RefreshIndicator API doc sample fails on Desktop and Web[/-] [+]Update or document RefreshIndicator behavior on desktop[/+] on Sep 26, 2023
  4. Piinks commented on Sep 26, 2023

    @Piinks
    Contributor

    I could not find one, so I'll make this the canonical issue for how this widget behaves on desktop and desktop+web

  5. added
    P2Important issues not at the top of the work list
    triaged-designTriaged by Design Languages team
    and removed
    team-designOwned by Design Languages team
    on Sep 26, 2023
  6. flutter-triage-bot commented on Sep 26, 2023

    @flutter-triage-bot

    The triaged-design label is irrelevant if there is no team-design label or fyi-design label.

  7. HansMuller commented on Sep 26, 2023

    @HansMuller
    ContributorAuthor

    Thanks @Piinks

  8. dkwingsmt commented on Sep 26, 2023

    @dkwingsmt
    Contributor

    Even if we decided that this widget is still not supposed to function in a desktop app, as a doc example the current state is confusing, and we should either override the platform setting (a platform switch would be even better) or straight up display "be aware you're on desktop and this won't work".

  9. added
    packageflutter/packages repository. See also p: labels.
    and removed
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listf: scrollingViewports, list views, slivers, etc.p: material_uimaterial_ui package in flutter/packagespackageflutter/packages repository. See also p: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions