Close profile card when click off (#3435)
* Profile close when click in chat list view, setup for fixes * Fix positioning errors * Add pangea quotes --------- Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
This commit is contained in:
parent
7dfa08bb55
commit
1542b80121
1 changed files with 9 additions and 1 deletions
|
|
@ -24,7 +24,12 @@ void showMemberActionsPopupMenu({
|
|||
final dmRoomId = user.room.client.getDirectChatFromUserId(user.id);
|
||||
// Pangea#
|
||||
|
||||
final overlay = Overlay.of(context).context.findRenderObject() as RenderBox;
|
||||
// #Pangea
|
||||
// final overlay = Overlay.of(context).context.findRenderObject() as RenderBox;
|
||||
final overlay = Overlay.of(context, rootOverlay: true)
|
||||
.context
|
||||
.findRenderObject() as RenderBox;
|
||||
// Pangea3
|
||||
|
||||
final button = context.findRenderObject() as RenderBox;
|
||||
|
||||
|
|
@ -40,6 +45,9 @@ void showMemberActionsPopupMenu({
|
|||
);
|
||||
|
||||
final action = await showMenu<_MemberActions>(
|
||||
// #Pangea
|
||||
useRootNavigator: true,
|
||||
// Pangea#
|
||||
context: context,
|
||||
position: position,
|
||||
items: <PopupMenuEntry<_MemberActions>>[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue