You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be display:none. When using visibility, the element is not shown but the screen real-estate for that control is still reserved which results in a pager that is a good bit larger than it needs to be.
However, I also question why this control does not just return null if the drop down is hidden and not render anything at all.
The text was updated successfully, but these errors were encountered:
When the sizePerPage dropdwon is not shown on the pager, it sets the visibility of itself to hidden.
react-bootstrap-table/src/pagination/SizePerPageDropDown.js
Line 21 in 281db99
This should be
display:none
. When using visibility, the element is not shown but the screen real-estate for that control is still reserved which results in a pager that is a good bit larger than it needs to be.However, I also question why this control does not just
return null
if the drop down is hidden and not render anything at all.The text was updated successfully, but these errors were encountered: