microsoft / fluentui-contrib

Monorepo for contributor extension packages to Fluent UI
MIT License
29 stars 31 forks source link

feat(react-data-grid-react-window*): add scrolling indicators #186

Closed hatpick closed 3 months ago

hatpick commented 3 months ago

If your component's items are expensive to render, you can boost performance by rendering a placeholder while the user is scrolling. To do this, add the useIsScrolling property to your List or Grid. Now an additional parameter, isScrolling, will be passed to your render method.

Original doc from react-window https://react-window.vercel.app/#/examples/list/scrolling-indicators).vercel.app/#/examples/list/scrolling-indicators

hatpick commented 3 months ago

@bsunderhus @ling1726 Thanks for the review, can any of you merge this PR?