added explanation for scroll configuation

This commit is contained in:
ggurdin 2024-06-27 10:39:35 -04:00
parent 122519d9ce
commit 0d896e24d2

View file

@ -105,6 +105,8 @@ class ChatDetailsView extends StatelessWidget {
),
body: MaxWidthBody(
// #Pangea
// chat description title has its own scrollbar so we disable the parent one
// otherwise they scroll with each other
child: ScrollConfiguration(
behavior:
ScrollConfiguration.of(context).copyWith(scrollbars: false),
@ -420,7 +422,8 @@ class ChatDetailsView extends StatelessWidget {
// trailing: const Icon(Icons.chevron_right_outlined),
// Pangea#
onTap: () => context.push(
'/rooms/${room.id}/details/permissions'),
'/rooms/${room.id}/details/permissions',
),
),
Divider(
height: 1,