polaris icon indicating copy to clipboard operation
polaris copied to clipboard

Add `onScrollToBottom` prop to `Scrollable` component

Open loic-d opened this issue 8 years ago • 1 comments

Feature request summary

For the web Resource pickers, we cloned Scrollable to add a onSrollToBottom prop. This allows us to load more resources once a merchant reached the end of the list (async loading).

The signature of the new prop would be:

  onScrollToBottom?: () => void;

Rationale

This is an easy way to implement async loading in components relying on Scrollable.


🌟 Feature requests that are not yet planned will be closed. We then use the issue’s :+1: upvotes to track and set priorities. See the contribution guidelines for more information.

loic-d avatar Nov 02 '18 14:11 loic-d

Opening this issue for visibility. That's something we can work on!

loic-d avatar Nov 02 '18 14:11 loic-d