Skip to content

fix(macos): let multiline inputs scroll under their padding - #702

Merged
oneo-me merged 1 commit into
mainfrom
agiox/fix-issue-701
Nov 18, 2026
Merged

oneo-me merged 1 commit into
mainfrom
agiox/fix-issue-701

Conversation

@oneo-me

@oneo-me oneo-me commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #701.

  • Pass an input's padding to the platforms beside its content box (driver.InputConfig.Padding).
  • macOS: place a multiline input's NSScrollView at the padding box, so its scroller runs along the edges, and make the padding the text view's inset (textContainerInset plus textContainerOrigin for uneven sides), so the text scrolls under the top and bottom padding. Single-line fields are unchanged.
  • iOS: the same for UITextView through textContainerInset.
  • Record the other backends in the roadmap.

Tested with TestMultilineEditorScrollsUnderPadding on macOS.

🤖 Generated with Claude Code

@github-actions github-actions Bot added size/XS bug Something isn't working labels Nov 18, 2026
@oneo-me
oneo-me force-pushed the agiox/fix-issue-701 branch from f3759ae to cd7caa8 Compare November 18, 2026 15:23
@github-actions github-actions Bot added size/S documentation Improvements or additions to documentation macOS iOS core and removed size/XS labels Nov 18, 2026
@oneo-me
oneo-me marked this pull request as ready for review November 18, 2026 15:31
@oneo-me
oneo-me merged commit 06e3b8b into main Nov 18, 2026
13 of 20 checks passed
@oneo-me
oneo-me deleted the agiox/fix-issue-701 branch November 18, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core documentation Improvements or additions to documentation iOS macOS size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant