-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Table: onRowSelection not invoke after componentClickAway #1272
Comments
@raffy2010 What version of mui are you working with? |
@jkruder 0.10.1 I have found that there are no change in master yet |
@raffy2010 Checkout the 0.11 branch. I updated the table to be composable that component has been marked for the 0.11 release. Let me know if that version addresses your concern. |
@jkruder https://github.com/callemall/material-ui/blob/v0.11/src/table/table-body.jsx#L72-L74 I think onRowSelection should be call after setState with empty array [], so that I can handle the selectedRow change outer the table component with single onRowSelection callback. |
Close this issue ? |
@otroboe Yeap. |
@oliviertassinari |
componentClickAway does invoke setState{ selectedRows: [] }
but not invoke onRowSelection callback?
thanks
The text was updated successfully, but these errors were encountered: