-
Notifications
You must be signed in to change notification settings - Fork 932
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
Warnings from deprecated\old props #1747
Comments
ariel-upstream
changed the title
Warnings from deprecated props
Warnings from deprecated\old props
Jul 13, 2021
Kalaiz
added a commit
to Kalaiz/mui-datatables
that referenced
this issue
Jul 13, 2021
- Used TransitionProps instead of the deprecated onClose and onExited Props for material-ui based Popover. - Used onPageChange and onRowsPageChange Props instead of the deprecated onChangePage and onChangeRowsPerPage Props respectively, for material-ui based TablePagination. - Used ref instead of the deprecated buttonRef for material-ui based IconButton .
Facing the same issue |
Material-table had the same issue and here is how we people are working around it until the fix is released: mbrn/material-table#2937 (comment) |
joaomantovani
added a commit
to penseapp/mui-datatables
that referenced
this issue
Aug 12, 2021
…ed-props-material-ui-4.12.1 fix(gregnb#1747): Replace deprecated props in mui based components
Another workaround: |
wdh2100
added a commit
that referenced
this issue
Oct 25, 2021
…ps-material-ui-4.12.1 fix(#1747): Replace deprecated props in mui based components
Should now be resolved with latest version |
I can confirm that 3.8.2 fixes the warnings / errors. |
bmlkc
pushed a commit
to Telesero/mui-datatables
that referenced
this issue
Feb 1, 2022
- Used TransitionProps instead of the deprecated onClose and onExited Props for material-ui based Popover. - Used onPageChange and onRowsPageChange Props instead of the deprecated onChangePage and onChangeRowsPerPage Props respectively, for material-ui based TablePagination. - Used ref instead of the deprecated buttonRef for material-ui based IconButton . (cherry picked from commit 25b8cb9)
In my case, {...props} cause this problem. Before
After
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
After update to the last Material-UI version: 4.12.1,
I'm getting a lot of warnings from the table,
The warnings:
onExited
ofForwardRef(Popover)
is deprecated. Use theTransitionProps
prop instead.onChangePage
ofForwardRef(TablePagination)
is deprecated. Use theonPageChange
prop instead.onChangeRowsPerPage
ofForwardRef(TablePagination)
is deprecated. Use theonRowsPerPageChange
prop instead.onPageChange
is marked as required inForwardRef(TablePagination)
, but its value isundefined
.Thanks.
The text was updated successfully, but these errors were encountered: