Skip to content

Drawers are not working on 3.1.0-0.0.pre.1560 master on web #107290

@stevendz

Description

@stevendz

Edit:

It seems that this is not a bug but it was changed intentionally. That the drawers were working on desktop was the bug :/
So eventually it would be possible to allow drawers again on desktop and make them toggle-able or something?

#100476

drawer and enddrawer are not working on web.

Steps to Reproduce

  1. Add drawer or enddrawer to Scaffold
  2. Drag from left/right to the mid of the app

Expected results: Drawer opens

Actual results: Nothing happens

Widget build(BuildContext context) {
    return Scaffold(
      endDrawer: Container(
        width: 200,
        color: Colors.red,
      ),
      body: SizedBox(),
    );
  }

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1560, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions