fix(web): inline HTML renders no longer trap the thread's scroll #16283
Merged
t3dotgg(GitHub profile, opens in a new tab)merged 3 commits into
main fromrefs/pull/16283/head·merged by t3dotgg(GitHub profile, opens in a new tab) View on GitHubShowing 5 changed files with 33 additions and 7 deletions (loading 2).
x
@@ -68,7 +68,7 @@
- description: `Show a finished HTML page (chart, table, diagram, collage, mockup) inline in this thread, above your final text reply; call it before writing that reply. The reader already sees the page, so the reply should not announce it, say where it is, or restate it: add only what the page doesn't say. Preview with html_preview first. T3 fits the frame to the page's height at each reader's width, up to height; anything taller scrolls inside the frame. ${PAGE_RULES} ${HTML_RENDER_LAYOUT_GUIDE} ${HTML_RENDER_THEME_GUIDE}`,
+ description: `Show a finished HTML page (chart, table, diagram, collage, mockup) inline in this thread, above your final text reply; call it before writing that reply. The reader already sees the page, so the reply should not announce it, say where it is, or restate it: add only what the page doesn't say. Preview with html_preview first. T3 fits the frame to the page's height at each reader's width. A height below the page's contentHeight caps the frame there, and the rest scrolls inside it. ${PAGE_RULES} ${HTML_RENDER_LAYOUT_GUIDE} ${HTML_RENDER_THEME_GUIDE}`,
@@ -76,7 +76,7 @@
- description: `The most the frame may take, in CSS pixels, ${HTML_RENDER_MIN_HEIGHT}-${HTML_RENDER_MAX_HEIGHT}. Use html_preview's contentHeight, or less to make long content scroll inside the frame.`,
+ description: `The frame height in CSS pixels, ${HTML_RENDER_MIN_HEIGHT}-${HTML_RENDER_MAX_HEIGHT}. Use html_preview's contentHeight, or less to make long content scroll inside the frame.`,
@@ -20,8 +20,9 @@
- * own background, at its measured height for this width (capped at the agent's
- * height). Loading and failure hold the same box so nothing below it moves.
+ * own background, at the server's measured height for this width until the