polaris
polaris copied to clipboard
Add `onScrollToBottom` prop to `Scrollable` component
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.
Opening this issue for visibility. That's something we can work on!