Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions changelog/core/0.7.52.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
package: "@webjsdev/core"
version: 0.7.52
date: 2026-08-20T20:58:47.906Z
commit_count: 3
---
## Fixes

- **a <webjs-frame> swap no longer scrolls the page to top** ([#1429](https://github.com/webjsdev/webjs/pull/1429)) [`13bd030c`](https://github.com/webjsdev/webjs/commit/13bd030c)
* fix: a <webjs-frame> swap no longer scrolls the page to top

The router's scroll block was gated on `recordHistory` alone, which means
"a foreground navigation the reader initiated". A click on a frame-driving
- **leave scroll restoration to the browser so iOS previews the back-swipe** ([#1430](https://github.com/webjsdev/webjs/pull/1430)) [`ad81d4b3`](https://github.com/webjsdev/webjs/commit/ad81d4b3)
* The router set `history.scrollRestoration = 'manual'`, which suppresses the
per-entry scroll recording WebKit composes the iOS back-swipe preview from, so
the preview rendered blank. Scroll restoration now stays with the browser (the
single-writer model Next and Remix use), with the router reserving the
snapshot's height so the recorded offset is reachable across the swap.
- **resolve live() in an attribute hole so a falsy ?bool omits it** ([#1444](https://github.com/webjsdev/webjs/pull/1444)) [`e0abcf96`](https://github.com/webjsdev/webjs/commit/e0abcf96)
* fix: resolve live() in an attribute hole so a falsy ?bool omits it

The SSR renderer resolved live() only in a child hole, so the directive's
wrapper object reached the attribute emit sites raw. Each kind failed its
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webjsdev/core",
"version": "0.7.51",
"version": "0.7.52",
"type": "module",
"description": "The runtime for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Ships the html and css template tags, the WebComponent base class, signals, directives, and the isomorphic renderers.",
"types": "./index.d.ts",
Expand Down
Loading