Using react-bootstrap-table-next, when I click the column header, a border appears around the clicked header
Is there any way to disable this?
import BootstrapTable from 'react-bootstrap-table-next';
const columns = [{
dataField: 'id',
text: 'Product ID'
}, {
dataField: 'name',
text: 'Product Name'
}, {
dataField: 'price',
text: 'Product Price'
}];
<BootstrapTable keyField='id' data={ products } columns={ columns } />
WHAT I ENDED UP DOING:
new .scss file, tableStyle.scss
.noBorderOnClick {
th:focus{
outline: none !important;
}
}
Then in the class containing the table:
import tableStyle from './styles/tableStyle.scss'
<BootstrapTable keyField='id' data={ products } columns={ columns } headerClasses={tableStyle.noBorderOnClick} />
Maybe this will be solution:
.classname:focus {
outline: none;
}