Error on overlayFactory() implementation
<BootstrapTable keyField="id"
data={this.state.data}
columns={this.state.columns}
striped
bootstrap4={ true }
loading={ true }
overlay={ overlayFactory({ spinner: true, background: 'rgba(192,192,192,0.3)' })}
/>
Here's the error message:
app.js:103595 The above error occurred in the
component:
in TableLoadingOverlayWrapper (created by BootstrapTable)
in BootstrapTable
in SortProvider
in DataProvider (created by BootstrapTableContainer)
in BootstrapTableContainer (created by DailyTimeRecord)
in div (created by DailyTimeRecord)
in div (created by DailyTimeRecord)
in DailyTimeRecord (created by Route)
in Route (created by Main)
in Switch (created by Main)
in div (created by Main)
in div (created by Main)
in Switch (created by Main)
in Router (created by BrowserRouter)
in BrowserRouter (created by Main)
in div (created by Main)
in Main
@HumbleCarl i will check this, currently, I will not suggest people to use react-bootstrap-table2-overlay instead you can custom by yourself, you can check this example.
Currently, react-bootstrap-table2-overlay use third party library and it produced some bugs.
Anyway, I will look into it but not sure the fixing time.
Copy that. Thank you sir!
I faced the same error in the browser, and I found that the overlay functionalities works when the noDataIndication prop is provided.
So what I did was to provide a blank noDataIndication, then I can use the overlay with no error.
Most helpful comment
I faced the same error in the browser, and I found that the
overlayfunctionalities works when thenoDataIndicationprop is provided.So what I did was to provide a blank
noDataIndication, then I can use theoverlaywith no error.