We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1741487 commit ea89bf8Copy full SHA for ea89bf8
src/pagination/SizePerPageDropDown.js
@@ -18,8 +18,9 @@ class SizePerPageDropDown extends Component {
18
currSizePerPage
19
} = this.props;
20
21
+ if (hidden) return null;
22
+
23
const openClass = open ? 'open show' : '';
- const dropDownStyle = { visibility: hidden ? 'hidden' : 'visible' };
24
25
const renderOptions = () => {
26
const attrs = {
@@ -33,7 +34,7 @@ class SizePerPageDropDown extends Component {
33
34
};
35
36
return (
- <span style={ dropDownStyle }
37
+ <span
38
className={ `${variation} ${openClass} ${className} ${sizePerPageDefaultClass}` }>
39
<button className={ `btn ${btnContextual} dropdown-toggle` }
40
id='pageDropDown' data-toggle='dropdown'
0 commit comments