fix scrollview
This commit is contained in:
@@ -48,8 +48,8 @@ class MessageActionsModal extends StatelessWidget {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
},
|
},
|
||||||
|
child: Center(
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
padding: const EdgeInsets.only(top: 160),
|
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Positioned.fill(
|
Positioned.fill(
|
||||||
@@ -114,12 +114,14 @@ class MessageActionsModal extends StatelessWidget {
|
|||||||
context: context,
|
context: context,
|
||||||
tiles: [
|
tiles: [
|
||||||
if (showReply &&
|
if (showReply &&
|
||||||
(message.status == MessageSendingStatus.SENT ||
|
(message.status ==
|
||||||
|
MessageSendingStatus.SENT ||
|
||||||
message.status == null) &&
|
message.status == null) &&
|
||||||
message.parentId == null)
|
message.parentId == null)
|
||||||
_buildReplyButton(context),
|
_buildReplyButton(context),
|
||||||
if (showEditMessage) _buildEditMessage(context),
|
if (showEditMessage) _buildEditMessage(context),
|
||||||
if (showDeleteMessage) _buildDeleteButton(context),
|
if (showDeleteMessage)
|
||||||
|
_buildDeleteButton(context),
|
||||||
if (showCopyMessage) _buildCopyButton(context),
|
if (showCopyMessage) _buildCopyButton(context),
|
||||||
],
|
],
|
||||||
).toList(),
|
).toList(),
|
||||||
@@ -132,6 +134,7 @@ class MessageActionsModal extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ class MessageReactionsModal extends StatelessWidget {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
},
|
},
|
||||||
|
child: Center(
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
padding: const EdgeInsets.only(top: 160),
|
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Positioned.fill(
|
Positioned.fill(
|
||||||
@@ -98,6 +98,7 @@ class MessageReactionsModal extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -241,7 +241,7 @@ class _MessageWidgetState extends State<MessageWidget> {
|
|||||||
Flexible(
|
Flexible(
|
||||||
child: PortalEntry(
|
child: PortalEntry(
|
||||||
portal: Container(
|
portal: Container(
|
||||||
transform: Matrix4.translationValues(-16, 0, 0),
|
transform: Matrix4.translationValues(-16, 2, 0),
|
||||||
child: _buildReactionIndicator(context),
|
child: _buildReactionIndicator(context),
|
||||||
constraints: BoxConstraints(maxWidth: 22 * 6.0),
|
constraints: BoxConstraints(maxWidth: 22 * 6.0),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user