Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🐛 ChatView iOS Padding Issue Fix #200

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

* **Breaking**: [173](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/173) Added
callback to sort message in chat.
* **Breaking**: [177](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/177) Fixed
* **Breaking**: [178](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/178) Fixed
json serializable of models and added copyWith method (Message, Reaction and Reply Message).
* **Breaking**: [181](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/181) Removed
deprecated field `showTypingIndicator` from ChatView.
* **Breaking**: [188](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/188) update
sendBy parameter name of Message class to sentBy
* **Breaking**: [190](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/190) Move
currentUser into ChatController from ChatView widget and rename chatUsers to otherUsers
* **Feat**: [179](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/179) Added reply
* **Feat**: [184](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/184) Added reply
suggestions functionality
* **Feat**: [157](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/157) Added onTap
of reacted user from reacted user list.
Expand Down Expand Up @@ -54,6 +54,8 @@
send to closed socket or animate on `ScrollController` without clients.
* **Fix**: [194](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/194) Dispose
all `ValueNotifier`s and `ScrollController`s in `ChatController`.
* **chore**: [168](https://github.com/SimformSolutionsPvtLtd/flutter_chatview/pull/168) Update
intl to version 0.19.0.

## [1.3.1]

Expand Down
1 change: 1 addition & 0 deletions lib/src/widgets/chat_groupedlist_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ class _ChatGroupedListWidgetState extends State<ChatGroupedListWidget>
return ListView.builder(
key: widget.key,
physics: const NeverScrollableScrollPhysics(),
padding: EdgeInsets.zero,
shrinkWrap: true,
itemCount: (enableSeparator
? messages.length + messageSeparator.length
Expand Down
2 changes: 2 additions & 0 deletions lib/src/widgets/suggestions/suggestion_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class _SuggestionListState extends State<SuggestionList>
padding:
suggestionsListConfig.padding ?? const EdgeInsets.only(left: 8.0),
margin: suggestionsListConfig.margin,
// TODO: Switch to SizeTransition once support for
// `fixedCrossAxisSizeFactor` is provided.
child: ClipRect(
child: AnimatedBuilder(
animation: _controller,
Expand Down