-
Notifications
You must be signed in to change notification settings - Fork 933
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
Uncaught TypeError: Cannot read property 'offsetParent' of undefined when draggableColumns is enabled #1359
Comments
Yikes, that's a bad bug :/. It only happens when selectableRows: "none". I've got a fix in development. I'm going to do a little more testing and hopefully push a 3.1.1 version a little later tonight. |
thanks for your quick response, @patorjk . |
No problem, thank you for the quick report! I've push out a 3.1.1 patch that has draggable columns working when selectableRows="none". If you see anything else please let me know. |
I have updated |
Can you show me an example? I can't seem to re-create this. |
I'm aiming to do another patch release tonight. I'm not sure if this will solve your problem, but if you have a moment can you try this beta version: npm install mui-datatables@3.1.2-beta.0 |
sorry, that beta version still doesn't fix this issue. |
Can you show me an example? I'm unable to reproduce the problem. |
I think I need to pass ref : |
Expected Behavior
Draggable columns can work properly
Current Behavior
Get error
Uncaught TypeError: Cannot read property 'offsetParent' of undefined
Steps to Reproduce (for bugs)
Uncaught TypeError: Cannot read property 'offsetParent' of undefined
.Your Environment
@material-ui/core
mui-datatables
react
The text was updated successfully, but these errors were encountered: