Skip to content

feat: add scrollPhysics parameter to TerminalView#220

Open
futpib wants to merge 1 commit intoTerminalStudio:masterfrom
futpib:add-scroll-physics
Open

feat: add scrollPhysics parameter to TerminalView#220
futpib wants to merge 1 commit intoTerminalStudio:masterfrom
futpib:add-scroll-physics

Conversation

@futpib
Copy link

@futpib futpib commented Feb 27, 2026

Allow callers to override the scroll physics of the internal Scrollable widget. This is useful when embedding TerminalView inside other scrollable containers or combining it with pinch-to-zoom gestures, where the internal scroll gesture recognizer would otherwise win the gesture arena. Passing NeverScrollableScrollPhysics() disables the internal scroll handling so the host app can manage scrolling externally via scrollController.

Allow callers to override the scroll physics of the internal Scrollable
widget. This is useful when embedding TerminalView inside other
scrollable containers or combining it with pinch-to-zoom gestures,
where the internal scroll gesture recognizer would otherwise win the
gesture arena. Passing NeverScrollableScrollPhysics() disables the
internal scroll handling so the host app can manage scrolling externally
via scrollController.
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