I'm using a BasicTable with a ComputedColumn that renders a popover for each row. I'm having an issue where the popover closes / loses state after loading the BasicTable with updated data. I'm setting isLoading: true before fetching the data and then setting it back to isLoading: false afterwards. Without doing so, everything works fine.
After talking with @chandlerprall, when isLoading is true, the BasicTable is swapping out the EuiTableBody for LoadingTableBody , but rendering the same rows object. However, React sees the wrapping component as fundamentally different and "necessarily" unmounts & remounts everything.
I'm using a
BasicTablewith aComputedColumnthat renders a popover for each row. I'm having an issue where the popover closes / loses state after loading theBasicTablewith updated data. I'm settingisLoading: truebefore fetching the data and then setting it back toisLoading: falseafterwards. Without doing so, everything works fine.After talking with @chandlerprall, when
isLoadingis true, theBasicTableis swapping out theEuiTableBodyforLoadingTableBody, but rendering the same rows object. However, React sees the wrapping component as fundamentally different and "necessarily" unmounts & remounts everything.