diff --git a/src/components/datascroller/DataScroller.js b/src/components/datascroller/DataScroller.js index e497cb9c76..31284b4620 100644 --- a/src/components/datascroller/DataScroller.js +++ b/src/components/datascroller/DataScroller.js @@ -195,7 +195,7 @@ export class DataScroller extends Component { var header =this.props.header &&
{this.props.header}
, footer = this.props.footer &&
{this.props.footer}
, content = ( -
this.contentElement = ReactDOM.findDOMNode(el)} className="p-datascroller-content" style={{'maxHeight': this.props.scrollHeight}}> +
this.contentElement = el} className="p-datascroller-content" style={{'maxHeight': this.props.scrollHeight}}>