Skip to content

[datagrid] web client on macOS with touchbar: Attempt to scroll a DataGrid to the left side activates native Back navigation instead #2389

Open
@muknta

Description

@muknta

Bug description

Chrome on macOS has a native navigation action on left swipe using two fingers at the available area.
This action is low priority in order to use other scroll views at the web page.

So if you have an active scroll, this native action would not be activated. But if your horizontal scroll view is at the left side, which means you cannot longer scroll to the left, the native back action will be activate on attempt to scroll/swipe to this side.

I suppose there's something wrong with loosing focus on the Flutter side.

P.S. We have this bug on our proprietary project, but I saw that your demo also reproduces that.

Steps to reproduce

  1. open https://flutter.syncfusion.com/#/datagrid/getting-started
  2. minimize the window, so a DataGrid wouldn't fit on your window
  3. scroll DataGrid to the right
  4. then try to scroll to the left, it immediately activates the Back navigation action

Code sample

Screenshots or Video

Stack Traces

On which target platforms have you observed this bug?

Web

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.32.4, on macOS 15.5 24F74 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions