fix: App crash on page navigation with open popup menu

This commit is contained in:
Christian Kußowski 2025-05-29 12:44:06 +02:00
commit 49780b01fe
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
8 changed files with 10 additions and 0 deletions

View file

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

View file

@ -265,6 +265,7 @@ class _SpaceViewState extends State<SpaceView> {
),
actions: [
PopupMenuButton<SpaceActions>(
useRootNavigator: true,
onSelected: _onSpaceAction,
itemBuilder: (context) => [
PopupMenuItem(