Can you confirm the exact version/build of app-bridge-ui-experimental.js you’re loading, and that it’s included only once/loading is false when clicking, since the table can be inert while loading is true?
Also, are you mixing older Polaris React with newer Polaris web components via the incremental migration trick, and if so, which versions are in play?
If you’re using https://cdn.shopify.com/shopifycloud/app-bridge-ui-experimental.js, I’d just double check to see if the runtime us updated and set @shopify/app-bridge-ui-types to “latest” in package.json? If you can also share the emitted events from the element (via a ref) here, that would be super helpful to see whether the component fires nextpage/previouspage or camelCase nextPage/previousPage.
If upgrading isn’t possible for you right now, as a workaround could you try attaching listeners with addEventListener for both nextpage/previouspage and nextPage/previousPage and share what fires there? Happy to dig into this further with you for sure!
Hey @bakura10, thanks for digging into this and sharing the workaround, that is definitely odd. I’d say for now it’s likely safe to use the lowercase formatting there, but I’ll touch base with the Polaris product team to report this and confirm expected behaviour.
I’ll loop back with you once I have more info, appreciate you flagging this as always!
Thanks @hackervincent for the followup here and the extra info. Just wanted to ping you and @bakura10 here with an update. I was able to touch base with the product team and we’re investigating this as a potential bug. Can’t guarantee a turnaround time or what the fix will look like at the moment, but I’ll keep an eye on things and update you once the fix has been pushed/when I have next steps.
@Alan_G the issue seems to be actually widespread to everything. The onChange / onInput are also not called in React 19 + React router template. You have to use the all lowercase variation everywhere.
Thanks @bakura10, I’ll share this with the team, appreciate you following up here. I’ll keep you folks up to date on this and loop back here once I have more info.