JSONPrism v1.4.3
JSONPrism v1.4.3 — toast close-button fix + tested viewports doc
Patch release for the toast close-button regression reported after v1.4.2: clicking/tapping the × did nothing on both desktop and mobile.
Fixed
- Toast close button (
×) did not dismiss on click or tap. Reading sonner v1.7.4's bundled source, the toast root attachedr.target.setPointerCapture(r.pointerId)unconditionally onpointerdown. Combined with React 19's new container-root event delegation, the pointer capture swallowed the synthetic click event on the close button — so the bundleddismiss()handler never ran. Affected both mouse and touch because PointerEvent is unified. Upgradedsonner^1.7.0→^2.0.7, which rewrote pointer/swipe handling and ships first-class React 19 support. No call-site changes needed — the<Toaster>props andtoast.success/warning/error/infoAPI are compatible between v1 and v2.
Added
docs/tested-viewports.md— the maintainer's manual device test matrix (BlackBerry Z30 / Galaxy S9+ / Pixel 3/4/7 / iPhone SE/12/14 Pro/XR/Pro Max / iPad / BlackBerry PlayBook). Documents Nokia Lumia 520 (320×533) as a known limitation below the recommended 360×640 minimum. README EN + VI link to it.- Touch hit-area expansion on the close button. A
::afterpseudo gives an effective ~36–40px tap target (visible size stays at 20px), plustouch-action: manipulationto drop the 300ms tap delay on touch devices. Defensive — sonner v2 already fixes the underlying click — but a free mobile UX win.
Dependencies
- Bumped
sonner^1.7.0→^2.0.7(MIT).THIRD-PARTY.mdupdated.
Downloads
- Windows —
JSONPrism_1.4.3_x64_en-US.msi(WiX MSI) orJSONPrism_1.4.3_x64-setup.exe(NSIS installer) - macOS (universal — Apple Silicon + Intel) —
JSONPrism_1.4.3_universal.dmgorJSONPrism_universal.app.tar.gz - Linux —
JSONPrism_1.4.3_amd64.AppImage(universal),JSONPrism_1.4.3_amd64.deb(Debian/Ubuntu), orJSONPrism-1.4.3-1.x86_64.rpm(Fedora/RHEL)
Full changelog: CHANGELOG.md.
Try the web build at https://poli0981.github.io/jsonPrism/.