I would like to use canvases to help me make design decisions and present other useful information, but often the content is long and needs to scroll. This is fine, except I want some of the controls of the canvas page to be visible anywhere I scroll, so I asked the agent to make them sticky. But for some reason due to how the canvas iframe or internal styles work, it is impossible to make a full page scrolling canvas with a sticky header. You have to force a hardcoded max height which breaks the whole purpose of a canvas being a useful embedded page.
Just make it so the iframe matches the size of the cursor frame so the content inside can scroll naturally instead of the whole iframe being scrolled by cursor (which means the content cannot detect the scroll).
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!
The canvas panel itself scrolls like a normal page, but the wrapper the canvas renders into currently stops position: sticky (and position: fixed) from attaching to the visible area, so sticky controls never move.
Until that changes, you can get the same effect without a hardcoded number by making your own wrapper the scroll area and sizing it to the panel. You can also ask the agent to do this:
<div style={{ height: "calc(100vh - 48px)", overflowY: "auto" }}>
<div style={{ position: "sticky", top: 0, zIndex: 1 }}>{/* your controls */}</div>
{/* the rest of the page */}
</div>
The height follows the panel as you resize it (the 48px accounts for the canvas page’s built-in padding). I’ve just tested it.
The team is aware of this and is looking at making canvases behave like a regular page here.