-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Columns Sort Bug -> insertBefore Error #9368
Comments
Thanks for reporting this. Please provide a sample application showing the issue by forking the following Stackblitz (https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple). |
@djhi I should also note that if you use a simple Datagrid, the columns are not displayed inside Columns at all. |
Reproduced, thanks for the report! |
Btw
This is expected. The |
Okay found it, actually the |
What you were expecting:

After upgrading to react admin 4.15.0, I'm trying to sort columns in datagrid via the Column button.
What happened instead:
Instead, when the sorted element hits any other one, I get an error message. The method that throws the error was added to ra-ui-materialui in version 4.14.6 (closest() instead of parentNode). Now list is null and dropItem is null too.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: