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

feat: ✨ Added send message on enter button. #305

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rishabhsimformsolutions
Copy link

@rishabhsimformsolutions rishabhsimformsolutions commented Jan 7, 2025

Description

Users were only able to send message through the send button in web and desktop apps, so this PR provides the feature for users to send message directly on enter button press and use shift + enter key press for the new line, keeping the existing functionality(send message through the send button) alive. Not only this, users can define onSubmitted function if required.

Checklist

  • The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

Closes #303, #263

@rishabhsimformsolutions rishabhsimformsolutions force-pushed the fix/issue_303_enter_button_sends_out_message branch from 159ef5d to 27ab9a5 Compare January 7, 2025 14:18
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.

Hit ENTER button on PC keyboard, then send out message immediately
1 participant