Skip to content

Inspector clip mask + caret reveal at document end#73

Merged
luca-chen198 merged 1 commit into
mainfrom
feature/scrollbar-overlay-and-inspector-fix
Jun 19, 2026
Merged

Inspector clip mask + caret reveal at document end#73
luca-chen198 merged 1 commit into
mainfrom
feature/scrollbar-overlay-and-inspector-fix

Conversation

@luca-chen198

@luca-chen198 luca-chen198 commented Jun 19, 2026

Copy link
Copy Markdown
Member

Two editor fixes:

Inspector clip mask

  • Layer-back the scrolling-header clip so clipsToBounds reliably masks the layer-backed NSHostingView. Fixes the inspector body bleeding below the collapsed band on async resize (ghost rows + stale heading paints).

Caret reveal at document end

  • The reading-column reveal enumerated text fragments from the caret location, which has no fragment at the very document end → nothing scrolled and the just-typed line stayed hidden. Step back one char at the end so the last fragment is found.

🤖 Generated with Claude Code

- Layer-back the scrolling-header clip so clipsToBounds reliably masks the layer-backed NSHostingView — fixes the inspector body bleeding below the collapsed band on async resize (ghost rows + stale heading paints).
- Reveal the caret when typing at the document END: the reading-column reveal enumerated fragments from the caret location, which has none at the very end, so nothing scrolled and the typed line stayed hidden.

(Dropped the overlay-scroller forcing/hiding — the app now uses the plain native scroller, respecting the system 'Show scroll bars' setting.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@luca-chen198 luca-chen198 force-pushed the feature/scrollbar-overlay-and-inspector-fix branch from 494722b to aafbaa5 Compare June 19, 2026 22:28
@luca-chen198 luca-chen198 changed the title Auto-hiding overlay scrollers, inspector clip mask, caret-end reveal Inspector clip mask + caret reveal at document end Jun 19, 2026
@luca-chen198 luca-chen198 merged commit 6b8a21c into main Jun 19, 2026
1 check passed
luca-chen198 added a commit that referenced this pull request Jun 20, 2026
fitsContent height behavior (#75), BlockquoteStyle.extraLineHeight (#76), and fixes (#69/#70/#71/#73).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant