fix: swap constraints with scrollview to remove overflow

This commit is contained in:
Joey Boerwinkel 2024-07-24 11:24:31 +02:00 committed by FlutterJoey
parent 370f431784
commit ff338d6277

View file

@ -80,10 +80,10 @@ class _TemplateLegendState extends State<TemplateLegend> {
);
if (_templateDrawerOpen && !templatesLoading) {
body = SingleChildScrollView(
controller: _scrollController,
child: Container(
constraints: const BoxConstraints(maxHeight: 152),
body = Container(
constraints: const BoxConstraints(maxHeight: 152),
child: SingleChildScrollView(
controller: _scrollController,
child: Scrollbar(
controller: _scrollController,
thumbVisibility: true,