Summary: Currently, we call onSelect in DataTable only when user changes their selection. At that moment, we pass the row data to the `onSelect` callback. However, if later the data changes, but the selection stays the same, we do not call `onSelect` again. As result, any listener to onSelect does not receive the latest data. In this diff, we start calling `onSelect` when the selection does not change, but the underlying data does. Reviewed By: mweststrate Differential Revision: D37520346 fbshipit-source-id: a88d34654e9ad0721caf5918dde49b86ba20fc1f
7.1 KiB
7.1 KiB