mirror of
https://gitlab.com/mysocialportal/relatica
synced 2024-10-18 15:53:32 +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) {
|
||||
return Expanded(
|
||||
child: SingleChildScrollView(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Expanded(child: Text(attachment.description)),
|
||||
Expanded(
|
||||
child: SingleChildScrollView(
|
||||
child: Text(attachment.description),
|
||||
)),
|
||||
IconButton(
|
||||
onPressed: () async {
|
||||
await copyToClipboard(
|
||||
|
@ -146,7 +148,6 @@ class _ImageViewerScreenState extends State<ImageViewerScreen> {
|
|||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue