🐛 Fix compose article unable to scroll close #194
This commit is contained in:
@@ -256,21 +256,25 @@ class ArticleComposeScreen extends HookConsumerWidget {
|
|||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
ComposeFormFields(
|
Expanded(
|
||||||
state: state,
|
child: SingleChildScrollView(
|
||||||
showPublisherAvatar: false,
|
child: ComposeFormFields(
|
||||||
onPublisherTap: () {
|
state: state,
|
||||||
showModalBottomSheet(
|
showPublisherAvatar: false,
|
||||||
isScrollControlled: true,
|
onPublisherTap: () {
|
||||||
context: context,
|
showModalBottomSheet(
|
||||||
builder: (context) => const PublisherModal(),
|
isScrollControlled: true,
|
||||||
).then((value) {
|
context: context,
|
||||||
if (value != null) {
|
builder: (context) => const PublisherModal(),
|
||||||
state.currentPublisher.value = value;
|
).then((value) {
|
||||||
}
|
if (value != null) {
|
||||||
});
|
state.currentPublisher.value = value;
|
||||||
},
|
}
|
||||||
).padding(top: 16),
|
});
|
||||||
|
},
|
||||||
|
).padding(top: 16),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
|
||||||
// Attachments preview
|
// Attachments preview
|
||||||
ValueListenableBuilder<List<UniversalFile>>(
|
ValueListenableBuilder<List<UniversalFile>>(
|
||||||
|
|||||||
Reference in New Issue
Block a user