message: Fix scroll shadow
diff: @@ -10,7 +10,7 @@ export default class ScrollClassDiv extends React.PureComponent<Props> {
  private scrollParent: HTMLElement | Document;
  componentDidMount() {
  - this.scrollParent = scrollParent(this.ref.current);
  + this.scrollParent = document;
  this.scrollParent.addEventListener('scroll', this.scrollHandler, false);
  }
  @@ -45,18 +45,3 @@ export default class ScrollClassDiv extends React.PureComponent<Props> {
  }
  };
  }
  -
  -function scrollParent(node) {
  - while (node && node instanceof HTMLElement) {
  - const style = getComputedStyle(node, null);
  - if (
  - style.getPropertyValue('overflow').match(/(auto|scroll)/) ||
  - style.getPropertyValue('overflow-y').match(/(auto|scroll)/)
  - ) {
  - return node;
  - }
  - node = node.parentNode;
  - }
  -
  - return document;
  -}
  