samples icon indicating copy to clipboard operation
samples copied to clipboard

WRQ-9365: Added VirtualGridList sample to load data incrementally for infinite scrolling

Open mmyelyn opened this issue 11 months ago • 3 comments

Checklist

  • [x] I have read and understand the contribution guide
  • [ ] A CHANGELOG entry is included
  • [ ] At least one test case is included for this feature or bug fix
  • [x] Documentation was added or is not needed
  • [ ] This is an API breaking change

Issue Resolved / Feature Added

I have a request on how virtualgridlist should be implemented if data is continuously loaded.

Resolution

I used VirtualGridList's onScrollStop handler to load data when the scroll reaches the bottom. Assuming that data has been fetched, I implemented it to attach mock data.

Additional Considerations

Links

WRQ-9365

Comments

Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])

mmyelyn avatar Mar 14 '24 09:03 mmyelyn

Please check the enact lint --strict in this sample

juwonjeong avatar Jul 25 '24 08:07 juwonjeong

Could you please add this pattern sample link to all-samples as other samples? https://github.com/enactjs/samples/blob/master/sandstone/all-samples/src/App/App.js

juwonjeong avatar Jul 25 '24 09:07 juwonjeong

Let's change the sample name.

The sample name and other reviews have all been applied.

mmyelyn avatar Aug 02 '24 10:08 mmyelyn