fix: close profile popup on chat list view click
This commit is contained in:
parent
80997b44cf
commit
281dda5b03
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,9 @@ void showMemberActionsPopupMenu({
|
|||
final displayname = user.calcDisplayname();
|
||||
final isMe = user.room.client.userID == user.id;
|
||||
|
||||
final overlay = Overlay.of(context).context.findRenderObject() as RenderBox;
|
||||
final overlay = Overlay.of(context, rootOverlay: true)
|
||||
.context
|
||||
.findRenderObject() as RenderBox;
|
||||
|
||||
final button = context.findRenderObject() as RenderBox;
|
||||
|
||||
|
|
@ -35,6 +37,7 @@ void showMemberActionsPopupMenu({
|
|||
);
|
||||
|
||||
final action = await showMenu<_MemberActions>(
|
||||
useRootNavigator: true,
|
||||
context: context,
|
||||
position: position,
|
||||
items: <PopupMenuEntry<_MemberActions>>[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue