Fix scrollbar weirdness
This commit is contained in:
parent
9c615e7b66
commit
2572f277b0
2 changed files with 554 additions and 537 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -30,17 +30,19 @@ class ClassDescriptionButton extends StatelessWidget {
|
|||
constraints: const BoxConstraints(
|
||||
maxHeight: 190,
|
||||
),
|
||||
child: SingleChildScrollView(
|
||||
// child: NestedScrollView( ???
|
||||
controller: ScrollController(),
|
||||
child: Text(
|
||||
room.topic.isEmpty
|
||||
? (room.isRoomAdmin
|
||||
? (room.isSpace
|
||||
? L10n.of(context)!.classDescriptionDesc
|
||||
: L10n.of(context)!.chatTopicDesc)
|
||||
: L10n.of(context)!.topicNotSet)
|
||||
: room.topic,
|
||||
child: Scrollbar(
|
||||
child: SingleChildScrollView(
|
||||
primary: false,
|
||||
controller: ScrollController(),
|
||||
child: Text(
|
||||
room.topic.isEmpty
|
||||
? (room.isRoomAdmin
|
||||
? (room.isSpace
|
||||
? L10n.of(context)!.classDescriptionDesc
|
||||
: L10n.of(context)!.chatTopicDesc)
|
||||
: L10n.of(context)!.topicNotSet)
|
||||
: room.topic,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue