Open
Description
When I use overlayFactory
and the prop loading
changes, the overlay is triggered.
The thing is, if it has been triggered because of a filter has changed, the focus on the filter is lost.
Something to fix it? This is my code:
const RemoteAll = ({ data, onTableChange, columns, defaultSorted, loading }) => (
<BootstrapTable
remote={{ filter: true, sort: true, overlay: true }}
keyField='id'
data={data}
loading={loading}
columns={columns}
filter={filterFactory()}
defaultSorted={defaultSorted}
onTableChange={onTableChange}
noDataIndication={<div className='sp-flex sp-justify-content-center'>No data</div>}
overlay={overlayFactory({ spinner: true, background: 'rgba(192,192,192,0.3)' })} />
)