virtual-list icon indicating copy to clipboard operation
virtual-list copied to clipboard

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

Open batrdn opened this issue 4 years ago • 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

batrdn avatar Jan 05 '22 08:01 batrdn