Skip to content

Drawers and popup menus are no longer stateful #187

Description

@FlutterIssues

Issue by Hixie
Wednesday Oct 07, 2015 at 21:22 GMT
Originally opened as https://github.com/flutter/engine/issues/1528


e.g. the card_collection.dart demo's drawer's checkboxes don't check when you tap them.

Activity

  1. added this to the milestone on Nov 9, 2015
  2. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by abarth
    Thursday Oct 08, 2015 at 02:38 GMT


    Interesting. It's not clear to me how to fix this bug. The stock menu tries to solve this problem by calling setState on the navigator, which seems a bit wonky.

  3. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by abarth
    Thursday Oct 08, 2015 at 02:39 GMT


    I guess we can make the contents of the drawer a stateful component and then call setState on that.

  4. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by abarth
    Thursday Oct 22, 2015 at 19:32 GMT


    This issue applies to menus now too.

  5. abarth commented on Nov 18, 2015

    @abarth
    Contributor

    Fixed.

  6. Hixie commented on Nov 22, 2015

    @Hixie
    Contributor

    This wasn't fixed.

  7. reopened this on Nov 22, 2015
  8. abarth commented on Nov 22, 2015

    @abarth
    Contributor

    Oh noes!

  9. self-assigned this
    on Nov 22, 2015
  10. changed the title [-]Drawers are no longer stateful[/-] [+]Drawers and popup menus are no longer stateful[/+] on Nov 30, 2015
  11. added a commit that references this issue on Mar 21, 2019
  12. github-actions commented on Aug 17, 2021

    @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.

  13. locked as resolved and limited conversation to collaborators on Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions