You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 48b41d2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,14 @@ All notable changes to ShellDocs land here. Format follows [Keep a Changelog](ht
4
4
5
5
## [Unreleased]
6
6
7
+
## [0.1.16-alpha] — 2026-10-14
8
+
9
+
Fixes `<IframePreview>` showing the previous page's preview after navigating within a site.
10
+
11
+
### Fixed
12
+
13
+
-**`<IframePreview>` after in-site navigation.** When the next page has an iframe preview in the same place, Blazor reuses the element and only changes its `data-src`. `shelldocs.js` kept treating it as loaded, so the frame went on showing the previous page's preview and the Run button stayed hidden. It now watches `data-src` and `data-lazy`, unloads a host whose values change, and sets it up again: the Run button comes back for `Lazy="click"`, and `visible` / `none` previews load the new page. Sites that worked around it with their own `MutationObserver` can drop it.
14
+
7
15
## [0.1.15-alpha] — 2026-10-11
8
16
9
17
Search now works in static exports, the last piece of chrome that needed a running Blazor app.
Copy file name to clipboardExpand all lines: docs/ARCHITECTURE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,7 @@ Chrome that must work without a Blazor runtime follows one contract:
209
209
| Package / version selectors, preview ⋯ menu |`.pkg` / `.ver` / `.preview-menu``[data-open]`| open on trigger; close on outside click, Escape or option |
| Tabs, CodeGroup, preview code tabs, page switch |`[data-tabs]`, `[data-tab-target]`, `[data-tab-panel]`| switch on click / arrows; `[data-tabs-sync]` groups switch together and persist in `localStorage`; a `[data-tabs-missing]` group without the chosen value shows its `[data-tab-missing]` note; with nothing saved yet, groups follow a `[data-tabs-switch]` for their key |
212
-
| Iframe previews |`[data-iframe-preview][data-src][data-lazy]`| sets the iframe's `src` (plus `?theme=`) when visible (IntersectionObserver), on `[data-iframe-run]` or at once; posts `{ type: "shelldocs-theme", theme }` to loaded frames on theme change |
212
+
| Iframe previews |`[data-iframe-preview][data-src][data-lazy]`| sets the iframe's `src` (plus `?theme=`) when visible (IntersectionObserver), on `[data-iframe-run]` or at once; posts `{ type: "shelldocs-theme", theme }` to loaded frames on theme change; a host Blazor reuses for another page (`data-src` or `data-lazy` changed) is unloaded and set up again|
213
213
| Mobile nav | page shell `[data-mobile-open]`| hamburger toggles; backdrop, Escape, link or navigation closes; page scroll locked on `<html>`|
214
214
| Sidebar collapse | page shell `[data-sidebar-collapsed]`, `[data-sidebar-collapse-toggle]`| toggles collapse; remembered in `localStorage` and restored as soon as `shelldocs.js` runs, so the sidebar doesn't flash open |
215
215
| TOC |`[data-toc-list][data-toc-ids]`| IntersectionObserver scroll-spy, re-attached on `enhancedload`|
-`SlotExtractor.ReplaceComponentTags` no longer `.Trim()`s the raw child content of inline component tags. The Trim was stripping the first line's indent and defeating `SlotRenderer.Dedent` — Markdig then interpreted the remaining 4-space-indented lines as an indented code block. Symptom was the same "literal `<pre>` around placeholder divs" bug that had already been fixed for `razor:preview` fences; the inline-tag code path was still hitting it.
Driven by building the ShellUI docs on ShellDocs. Highlights (details in the CHANGELOG):
214
214
215
215
-`feat/build-static-prerender` (0.1.5) — `shelldocs build` prerenders every URL into a static site.
@@ -222,6 +222,7 @@ Driven by building the ShellUI docs on ShellDocs. Highlights (details in the CHA
222
222
-`feat/preview-code-variants` (0.1.13) — code tabs on previews with sync and a missing-tab note, page switch (`AddSyncSwitch`), captions, `<IframePreview>`, XAML highlighting; one-line component bodies stay inline.
223
223
-`fix/not-found-and-sidebar-collapse` (0.1.14) — `<DocsNotFound>` answers 404, `build` fails on not-found pages and writes `404.html`, desktop sidebar collapse in `shelldocs.js`.
224
224
-`feat/static-search` (0.1.15) — search runs in `shelldocs.js` against `/_shelldocs/search.json`, which `build` copies into the export, so static sites have search.
225
+
-`fix/iframe-preview-navigation` (0.1.16) — an `<IframePreview>` reused for the next page after in-site navigation is unloaded and set up again.
225
226
-`fix/preview-fidelity`, `feat/generics-redirects-page-title` (0.1.10) — `not-prose` previews, Razor child content, stretch layout, generic components in markdown, redirects (middleware + static pages), `RenderPageTitle`, theme sync and a static-host `ThemeToggle`.
0 commit comments