diff --git a/.changeset/fix-link-button-mobile.md b/.changeset/fix-link-button-mobile.md deleted file mode 100644 index ad5be4cc..00000000 --- a/.changeset/fix-link-button-mobile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@frigade/react": patch ---- - -Fix mobile popup-blocker swallowing primary/secondary button link clicks. When a step exposes `primaryButton.uri` (or the legacy `primaryButtonUri`) and the consumer hasn't overridden the `navigate` prop, the button now renders as a native `` so the browser handles navigation directly. Previously the click triggered `window.open` after an awaited `step.complete`, which iOS Safari and Chrome Android silently block as a popup because the user-gesture context was lost. Buttons without a URI, and buttons under a custom `navigate` handler, are unchanged. Visual styling is identical. diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b3488d45..d7cdbf8f 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @frigade/react +## 2.10.5 + +### Patch Changes + +- aea7dde: Fix mobile popup-blocker swallowing primary/secondary button link clicks. When a step exposes `primaryButton.uri` (or the legacy `primaryButtonUri`) and the consumer hasn't overridden the `navigate` prop, the button now renders as a native `` so the browser handles navigation directly. Previously the click triggered `window.open` after an awaited `step.complete`, which iOS Safari and Chrome Android silently block as a popup because the user-gesture context was lost. Buttons without a URI, and buttons under a custom `navigate` handler, are unchanged. Visual styling is identical. + ## 2.10.4 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 81197510..553d90a4 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@frigade/react", - "version": "2.10.4", + "version": "2.10.5", "description": "Build better product onboarding, faster.", "type": "module", "main": "./dist/index.js",