New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
responsiveStacked Cannot read properties of undefined (reading 'down') #1805
Comments
@MGMehdi I just updated, saw that error once and something I did otherwise updating to MUI5 handled this. I added this wrapper for my app:
I already already was using up and down in my theme overwrides, codemod updated it from what I had before to this::
I'm guessing one of these things fixed that error for me. |
It's working but some of my CSS are broken now... |
I ran into some of that too, there were several breaking changes around styles with the update to Material 5 https://mui.com/guides/migration-v4/#handling-breaking-changes The So I think the short answer is no, you'll have to update your app for MUI5 since those breaking changes are coming from Material UI and not datatables. |
Maybe if I only wrap Mui-Datatable components it will not break my style elswere... |
Having the same issue, but I don't have the MUI experience to be able to track much down. (Compared to Bootstrap, MUI feels a little magical-incantationy - although it looks nice!). Unfortunately there doesn't seem to be a decent alternative to MUI DataTables, so I guess I'll have to wait for more to come to light here... |
@daggmano imo the only decent alternative is the paid version of MUI datagrid const theme = useTheme();
return (
<StyledEngineProvider injectFirst>
<ThemeProvider theme={theme}>
<MUIDataTable
title={title}
data={data}
columns={columns}
options={options}
/>
</ThemeProvider>
</StyledEngineProvider>
); |
@MGMehdi Thanks. I tried that, but still the same error. I guess I'll wait for the next update, assuming this issue gets some developer love... |
@daggmano Can you show me your code ? I can try to find why it's not working |
Same error Server Error This error happened while generating the page. Any console logs will be displayed in the terminal window. |
Since the update my table does not work and I've got this error
Expected Behavior
Table should render like before
Your Environment
The text was updated successfully, but these errors were encountered: