[POS] Add the onEndReached event to the s-scroll-box web component (2026-10) - #4694
Open
richard-gajda wants to merge 1 commit into
Open
richard-gajda wants to merge 1 commit into
richard-gajda wants to merge 1 commit into
Conversation
…6-10) Extensions that replaced the legacy List with Stack + ScrollBox had no way to detect the end of the content to paginate. Adds `onEndReached` to `ScrollBoxJSXProps` and a `ScrollBoxEvents` doc interface (`endreached`) mirroring the other POS component events, plus an example and changeset. The host implementation lives in shop/world (pos-mobile, 2026-10 override). Assisted-By: devx/99c2d724-b512-4d5a-9fe6-5a7c42bc064d
richard-gajda
marked this pull request as ready for review
September 18, 2026 18:49
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the
onEndReachedevent to the POSs-scroll-boxweb component types for API version 2026-10:components/ScrollBox.d.tsandcomponents.d.ts:onEndReached?: (event: CallbackEvent<typeof tagName>) => voidonScrollBoxJSXProps, plus aScrollBoxEventsdoc interface (endreached) mirroringButtonEvents.components/ScrollBox/examples/load-more-on-end-reached.html.minor).Why
Partners migrating from the legacy
Listto Stack + Scroll box have no way to detect the end of the content to paginate.ListhadonEndReached; Scroll box exposed no scroll events.