{"schemaVersion":1,"id":"2026-11-18-floating-rect-hides-clipped-text","status":"draft","source":{"kind":"entry-mdx","path":"apps/www/src/registry/changelog/entries/2026-11-18-floating-rect-hides-clipped-text.mdx"},"change":{"type":"source","date":"2026-11-18","commits":[]},"release":{"status":"unresolved"},"kind":"behavior","summary":"Hide popups and remote carets whose text scrolls out of the editor","targets":[{"name":"use-floating-rect","files":["apps/www/src/registry/hooks/use-floating-rect.ts"],"definitionFiles":["apps/www/src/registry/registry-hooks.ts"],"diagnostics":[]},{"name":"floating-toolbar","files":["apps/www/src/registry/components/editor/floating-toolbar.tsx"],"definitionFiles":["apps/www/src/registry/registry-features.ts"],"diagnostics":[]},{"name":"link","files":["apps/www/src/registry/components/editor/link.tsx"],"definitionFiles":["apps/www/src/registry/registry-features.ts"],"diagnostics":[]},{"name":"remote-cursor-overlay","files":["apps/www/src/registry/components/editor/remote-cursor-overlay.tsx"],"definitionFiles":["apps/www/src/registry/registry-editor.ts"],"diagnostics":[]}],"entries":[{"id":"2026-11-18-use-floating-rect-popups-whose-text-scrolls-410fc4f1","kind":"behavior","summary":"Take the whole `RangeGeometry`, hide the popup once no line of its text is in the editor's visible area, and return `shown`, which says whether the popup is drawn. Pass `hideWhenClipped: false` to keep a popup shown, such as a form someone is typing in.","details":[],"migrationNotes":["Pass the whole geometry from `useSelectionGeometry` in place of `geometry.boundingRect`.","Read `shown` in place of `isPositioned`, and spread `style` in place of `floatingStyles`."],"targets":["use-floating-rect"],"source":{"line":14,"row":1,"legacyRelease":{"date":"2026-11-18","entry":"2026-11-18-floating-rect-hides-clipped-text","section":null}}},{"id":"2026-11-18-floating-toolbar-hides-with-text-5c1e8b37","kind":"behavior","summary":"Hide the floating toolbar once its selection leaves the editor's visible area, including when the editor scrolls itself or the toolbar sits outside the box that scrolls the text.","details":[],"migrationNotes":[],"targets":["floating-toolbar"],"source":{"line":18,"row":2,"legacyRelease":{"date":"2026-11-18","entry":"2026-11-18-floating-rect-hides-clipped-text","section":null}}},{"id":"2026-11-18-link-popovers-hide-with-text-7d2e91a4","kind":"behavior","summary":"Hide the link popovers once the cursor or selected text they point to leaves the editor's visible area. An open link form stays shown, so typing still goes into it while its text is out of view.","details":[],"migrationNotes":[],"targets":["link"],"source":{"line":22,"row":3,"legacyRelease":{"date":"2026-11-18","entry":"2026-11-18-floating-rect-hides-clipped-text","section":null}}},{"id":"2026-11-18-remote-cursor-clips-to-editor-9a4f2d60","kind":"behavior","summary":"Draw a collaborator's caret and name label only inside the editor's visible area, and put the label below its caret when it does not fit above.","details":[],"migrationNotes":["Read the name label from `[data-remote-cursor-label]` beside the caret, not inside `[data-remote-caret]`. Both now sit in one `[data-remote-cursor-clip]` box."],"targets":["remote-cursor-overlay"],"source":{"line":26,"row":4,"legacyRelease":{"date":"2026-11-18","entry":"2026-11-18-floating-rect-hides-clipped-text","section":null}}}],"diagnostics":[]}