diff --git a/src/BootstrapTable.js b/src/BootstrapTable.js index b340f0a76..a074535ba 100644 --- a/src/BootstrapTable.js +++ b/src/BootstrapTable.js @@ -163,7 +163,8 @@ class BootstrapTable extends React.Component { var tableClass = classSet("react-bs-table"); var childrens = this.props.children; var style = { - height: this.props.height + height: this.props.height, + maxHeight: this.props.maxHeight }; if (!Array.isArray(this.props.children)) { childrens = [this.props.children]; @@ -206,6 +207,7 @@ class BootstrapTable extends React.Component {