mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-18 19:23:31 +00:00
Fix image description box scrolling only text not copy icon
This commit is contained in:
parent
0aa0f93af2
commit
55b8cdaf13
1 changed files with 19 additions and 18 deletions
|
@ -127,13 +127,15 @@ class _ImageViewerScreenState extends State<ImageViewerScreen> {
|
||||||
|
|
||||||
Widget buildTextArea(MediaAttachment attachment) {
|
Widget buildTextArea(MediaAttachment attachment) {
|
||||||
return Expanded(
|
return Expanded(
|
||||||
child: SingleChildScrollView(
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: Text(attachment.description)),
|
Expanded(
|
||||||
|
child: SingleChildScrollView(
|
||||||
|
child: Text(attachment.description),
|
||||||
|
)),
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
await copyToClipboard(
|
await copyToClipboard(
|
||||||
|
@ -146,7 +148,6 @@ class _ImageViewerScreenState extends State<ImageViewerScreen> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue