Skip to content

Drawer is snapping into place while dragging half way #153851

Closed

Description

@azeunkn0wn

Steps to reproduce

  1. Slowly drag the Drawer to open/close
  2. Do not swipe or release, keep dragging until fully closed/open

Expected results

Drawer will follow the position of my finger while dragging

Actual results

Drawer will snap to fully closed or fully open position while my finger is still dragging half way.

Code sample

Code sample
 Scaffold(
      drawer: Drawer(),
    );

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.22631.4037], locale en-US)
    • Flutter version 3.24.0 on channel stable at C:\DEV\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (3 weeks ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\DEV\Android\SDK
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[✓] Connected device (4 available)
    • 21051182G (mobile) • 17c8c276 • android-arm64  • Android 13 (API 33)
    • Windows (desktop)  • windows  • windows-x64    • Microsoft Windows [Version 10.0.22631.4037]
    • Chrome (web)       • chrome   • web-javascript • Google Chrome 127.0.6533.120
    • Edge (web)         • edge     • web-javascript • Microsoft Edge 127.0.2651.105

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Activity

  1. added
    in triagePresently being triaged by the triage team
    on Aug 22, 2024
  2. huycozy commented on Aug 22, 2024

    @huycozy
    Member

    Thank you for the report. I can reproduce this issue on Flutter master channel 3.25.0-1.0.pre.78 as well. I also checked this on the previous stable release 3.22.3, the issue doesn't happen there. Looks like a regression.

    Demo
    3.24 and 3.25 ❗ 3.22.3 ✅
    Screen.Recording.2024-08-22.at.16.55.48.mov
    Screen.Recording.2024-08-22.at.16.58.55.mov
  3. added
    c: regressionIt was better in the past than it is now
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    team-designOwned by Design Languages team
    and removed
    in triagePresently being triaged by the triage team
    on Aug 22, 2024
  4. huycozy commented on Aug 22, 2024

    @huycozy
    Member

    I bisected this and found the culprit commit 76a07a1 which came from a big PR #148570. Kindly cc @nate-thegrate for thoughts.

  5. nate-thegrate commented on Aug 22, 2024

    @nate-thegrate
    Contributor

    Thank you Huy! I'll work on fixing this one.

  6. added
    r: fixedIssue is closed as already fixed in a newer version
    on Aug 29, 2024
  7. github-actions commented on Sep 12, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: regressionIt was better in the past than it is nowfound in release: 3.24Found to occur in 3.24found in release: 3.25Found to occur in 3.25frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: material_uimaterial_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions