Skip to content

Commit 295c4ab

Browse files
authored
fix(solid): keep Frame, modals and Android back in sync with router history (#6)
1 parent ffc772c commit 295c4ab

10 files changed

Lines changed: 644 additions & 149 deletions

‎packages/tanstack-router/CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 0.2.2 (2026-11-24)
2+
3+
### 🩹 Fixes
4+
5+
- Links that only navigated on the first tap: router changes that arrived while the Frame sync was locked were dropped, so re-opening a modal after closing it (or navigating during a back transition) did nothing.
6+
- Android hardware back after closing a modal route: closing a modal (Close link, Android back, iOS sheet swipe) now pops its history entry when it was pushed over the same page, instead of leaving a duplicate entry that swallowed the next Back.
7+
- A modal route linked from another page (e.g. `/posts?@modal=/users/3` from `/`) opened twice on Android. Modals now open once their page is visible, and cancelled opens never present.
8+
- Android back while a modal is presented is handled by the dialog, so it closes the modal like the iOS sheet swipe-down.
9+
- `replace` navigations now drop the replaced page from the Frame backstack, and router back targets the matching backstack page even across several history entries.
10+
- A tap made while a page was still animating in is no longer reverted when that page's transition finishes.
11+
112
## 0.2.1 (2026-11-23)
213

314
The 0.2.0 tarball on npm was built before the following changes landed; 0.2.1 publishes them.

‎packages/tanstack-router/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/tanstack-router",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "TanStack Router for NativeScript",
55
"main": "index.cjs",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)