virtual-list
virtual-list copied to clipboard
🧾 React Virtual List Component which worked with animation
I have a list of chat messages. The message height depends on the content. My code is below. And everything seems to work well, but there is one moment, I...
By default, scrollbar disappears after 2 seconds. ``` delayHidden = () => { clearTimeout(this.visibleTimeout); this.setState({ visible: true }); this.visibleTimeout = setTimeout(() => { this.setState({ visible: false }); }, 2000); };...
This line of useMobileTouchMove.ts requires a null check on `listRef.current`: ``` listRef.current.removeEventListener('touchstart', onTouchStart); ``` When a `Select` component in the latest ant design v4.6.5 is unmounted (ie. removed from the...
Change-Id: Icaad4860dd895b6107cb4c6010b3e72b2b012399 Long presses, a default ''Action Menu'' pops up, block touchend event firing up, touchedRef.current will always be true, cause unable to scroll.
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 16.9.14 to 17.0.9. Commits See full diff in compare view [](https://dependabot.com/compatibility-score/?dependency-name=@types/react-dom&package-manager=npm_and_yarn&previous-version=16.9.14&new-version=17.0.9) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.3 to 26.0.24. Commits See full diff in compare view [](https://dependabot.com/compatibility-score/?dependency-name=@types/jest&package-manager=npm_and_yarn&previous-version=25.2.3&new-version=26.0.24) Dependabot will resolve any conflicts with this PR as long as you don't alter...