Skip to content

Commit

Permalink
Add temporary fix for broken scroll in StationAndTrainSearch dialog
Browse files Browse the repository at this point in the history
This fix can be removed after a new patch of Material UI with mui/material-ui#43626 is released.
  • Loading branch information
viliket committed Sep 8, 2024
1 parent 43a65bf commit ef48d8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/StationAndTrainSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
}}
>
<AppBar position="fixed" elevation={0}>
<Toolbar>
Expand Down

0 comments on commit ef48d8c

Please sign in to comment.