react-component/virtual-list

Be able to choose whether to hide scrollbar after delay or not

batrdn opened this issue · 0 comments

By default, scrollbar disappears after 2 seconds.

delayHidden = () => {
    clearTimeout(this.visibleTimeout);

    this.setState({ visible: true });
    this.visibleTimeout = setTimeout(() => {
      this.setState({ visible: false });
    }, 2000);
  };

It'd be helpful to be able to choose the delay or not. From user experience side, this causes some confusion