fixed list view breaking layout

This commit is contained in:
2026-02-01 17:16:42 +01:00
parent f6933b6529
commit a52817231e
2 changed files with 50 additions and 53 deletions

View File

@@ -311,14 +311,11 @@ class _ChatBubbleState extends State<ChatBubble> with SingleTickerProviderStateM
if(snapshot.connectionState == ConnectionState.waiting) return const Column(mainAxisSize: MainAxisSize.min, children: [LoadingSpinner()]);
var pollData = snapshot.data!.data;
return ListView(
shrinkWrap: true,
children: [
PollOptionsList(
return SingleChildScrollView(
child: PollOptionsList(
pollData: pollData,
chatToken: widget.chatData.token
)
]
chatToken: widget.chatData.token,
),
);
}
),

View File

@@ -29,7 +29,7 @@ class _PollOptionsListState extends State<PollOptionsList> {
double portion = numVoters == 0 ? 0 : (votes / numVoters);
return ListTile(
enabled: false,
// enabled: false,
isThreeLine: portionsVisible,
dense: true,
title: Text(