Skip to content

[POS] Add the onEndReached event to the s-scroll-box web component (2026-10) - #4694

Open
richard-gajda wants to merge 1 commit into
2026-10-rcfrom
richardgajda/pos-scroll-box-on-end-reached
Open

richard-gajda wants to merge 1 commit into
2026-10-rcfrom
richardgajda/pos-scroll-box-on-end-reached

Conversation

@richard-gajda

@richard-gajda richard-gajda commented Sep 18, 2026 •

Copy link
Copy Markdown

What

Adds the onEndReached event to the POS s-scroll-box web component types for API version 2026-10:

  • components/ScrollBox.d.ts and components.d.ts: onEndReached?: (event: CallbackEvent<typeof tagName>) => void on ScrollBoxJSXProps, plus a ScrollBoxEvents doc interface (endreached) mirroring ButtonEvents.
  • Example components/ScrollBox/examples/load-more-on-end-reached.html.
  • Changeset (minor).

Why

Partners migrating from the legacy List to Stack + Scroll box have no way to detect the end of the content to paginate. List had onEndReached; Scroll box exposed no scroll events.

…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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant