feat: Add configurable chatTextFieldHeightFallback to ChatView#436
Draft
Copilot wants to merge 2 commits into
Draft
feat: Add configurable chatTextFieldHeightFallback to ChatView#436Copilot wants to merge 2 commits into
chatTextFieldHeightFallback to ChatView#436Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/SimformSolutionsPvtLtd/chatview/sessions/52d306bf-39f4-4ed3-aa9a-c5c140d46e10 Co-authored-by: vatsaltanna-simformsolutions <63704011+vatsaltanna-simformsolutions@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add configurable chatTextFieldHeight property
feat: Add configurable Apr 20, 2026
chatTextFieldHeightFallback to ChatView
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The bottom padding of the message list falls back to a hardcoded
10.0when the chat text field height cannot be measured from layout, causing the last message to be obscured behind the input field in some cases.This PR exposes a
chatTextFieldHeightFallbackparameter onChatViewthat developers can use to override this fallback without patching the package source.Changes:
ChatView— adds optionalchatTextFieldHeightFallbackparameter (defaults to existingdefaultChatTextFieldHeight = 10.0, no breaking change)ChatViewInheritedWidget— carries the fallback value through the widget tree;updateShouldNotifyupdated accordinglyextensions.dart(textFieldHeightgetter) — prefers the widget-tree-provided fallback over the compile-time constantChecklist
fix:,feat:,docs:etc).docsand added dartdoc comments with///.examplesordocs.Breaking Change?
Related Issues