From ef48d8c6902e437b48a5db43b324dce072fb4d17 Mon Sep 17 00:00:00 2001 From: Vili Ketonen <25618592+viliket@users.noreply.github.com> Date: Sun, 8 Sep 2024 10:58:10 +0300 Subject: [PATCH] Add temporary fix for broken scroll in StationAndTrainSearch dialog This fix can be removed after a new patch of Material UI with https://github.com/mui/material-ui/pull/43626 is released. --- src/components/StationAndTrainSearch.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/StationAndTrainSearch.tsx b/src/components/StationAndTrainSearch.tsx index 5d293a97..cc9139f8 100644 --- a/src/components/StationAndTrainSearch.tsx +++ b/src/components/StationAndTrainSearch.tsx @@ -132,6 +132,12 @@ export default function StationAndTrainSearch() { open={open} onClose={handleClose} TransitionComponent={SlideUpTransition} + PaperProps={{ + sx: { + // Temporary fix until new patch of MUI is released with https://github.com/mui/material-ui/pull/43626 + overflowY: 'auto', + }, + }} >