fix: swap constraints with scrollview to remove overflow

This commit is contained in:
Joey Boerwinkel 2024-07-24 11:24:31 +02:00
parent fd2bef92ac
commit 7924e60691

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,