Skip to content

macOS multiline inputs inset their scroll view, scroller included, by their padding #701

Closed

Description

@oneo-me

A multiline core.Input's padding insets its NSScrollView, scroller included: inputLayout places the scroll view at the content box (the frame less the padding), while newMultilineEditor sets the text view's textContainerInset to zero. An editor filling a pane, such as AgioX's rule editor with Padding: {Top: 18, Right: 20, Bottom: 20, Left: 20}, so shows its scroller 20 pt in from the right edge and starting below the top, rather than along the edges.

Expected: the scroll view fills the input's padding box, the border's inside, and the padding becomes the text view's inset, so the text keeps its distance from the edges while the scroller runs along them and the text scrolls under the top and bottom padding. Single-line fields stay as they are.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    on Nov 18, 2026
  2. self-assigned this
    on Nov 18, 2026
  3. oneo-me commented on Nov 18, 2026

    @oneo-me
    CollaboratorAuthor

    Fixed in #702: a multiline input's NSScrollView now fills its padding box, so the scroller runs along the edges, and the padding becomes the text view's inset (textContainerInset with textContainerOrigin for uneven sides), so the text scrolls under the top and bottom padding. iOS's UITextView gets the same treatment; Android, Windows, Linux, the web and HarmonyOS are recorded in the roadmap.

    🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugmacOS

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions