fix: App crash on page navigation with open popup menu
This commit is contained in:
parent
3078e9788f
commit
49780b01fe
8 changed files with 10 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ class ClientChooserButton extends StatelessWidget {
|
|||
borderRadius: BorderRadius.circular(99),
|
||||
color: Colors.transparent,
|
||||
child: PopupMenuButton<Object>(
|
||||
useRootNavigator: true,
|
||||
popUpAnimationStyle: FluffyThemes.isColumnMode(context)
|
||||
? AnimationStyle.noAnimation
|
||||
: null, // https://github.com/flutter/flutter/issues/167180
|
||||
|
|
|
|||
|
|
@ -265,6 +265,7 @@ class _SpaceViewState extends State<SpaceView> {
|
|||
),
|
||||
actions: [
|
||||
PopupMenuButton<SpaceActions>(
|
||||
useRootNavigator: true,
|
||||
onSelected: _onSpaceAction,
|
||||
itemBuilder: (context) => [
|
||||
PopupMenuItem(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue