message: chore: tests crash fix after refactor
diff: @@ -29,8 +29,10 @@ export class PerfectScrollbar extends React.Component<{
  componentDidMount() {
  const offset = (this._container.parentElement && this._container.parentElement.scrollTop) || 0;
  this.inst = new PerfectScrollbarConstructor(this._container, this.props.options || {});
  + if (this._container.scrollTo) {
  this._container.scrollTo(0, offset);
  }
  + }
  componentDidUpdate() {
  this.inst.update();
  