You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add first-class, cross-platform support for internal top/bottom content padding ("content inset") in EnrichedTextInput: breathing room above the first line and below the last line that is part of the scrollable content, so the text clips only at the view bounds and never at a fixed band mid-scroll.
This already works on iOS through the underlying UITextView.textContainerInset, but there is no equivalent on Android today, so the editor can't have consistent internal padding across platforms.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Request
Please add first-class, cross-platform support for internal top/bottom content padding ("content inset") in
EnrichedTextInput: breathing room above the first line and below the last line that is part of the scrollable content, so the text clips only at the view bounds and never at a fixed band mid-scroll.This already works on iOS through the underlying
UITextView.textContainerInset, but there is no equivalent on Android today, so the editor can't have consistent internal padding across platforms.Proposed API
A single cross-platform prop, e.g.:
UITextView.textContainerInset.Environment
Beta Was this translation helpful? Give feedback.
All reactions