Skip to content

🐛 PaneItemExpander is expanding when adding a pane into NavigationView #876

@AlexisL61

Description

@AlexisL61

Describe the bug
When adding a pane into the NavigationView with a setState(), if a PaneItemExpander is open in the footerItems, it will close. When we remove a pane, the PaneItemExpander will open by itself if it was closed.

To Reproduce

  • I have made a reproducible project right here : https://github.com/AlexisL61/PaneItemExpander_bugreport
  • After starting the project with flutter run, press the filter icon on the bottom left part of the screen for opening it
  • Then press the + button in the bottom left part of the screen
  • The filter will close by itself
  • If you press the + button again, the filter will open by itself

Expected behavior
The PaneItemExpander should not open or close when adding or removing a pane

Additional context
Tested on Windows only for now?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingw: NavigationViewRelated to the NavigationView widget

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions