twilio / twilio-webchat-react-app

Twilio Webchat React App is an application that demonstrates a website chat widget built with Twilio's Conversations JS SDK, Twilio Paste Design library and Create React App.
MIT License
64 stars 71 forks source link

FLEXEXP-596 Enter Submits Pre-Engagment Form #21

Closed nayanadasgupta closed 2 years ago

nayanadasgupta commented 2 years ago

This fixes a bug where pressing enter in the "Ask your question" field of the Pre-Engagement form results in a newline rather than submitting the form. Instead, this PR allows a newline to be created when the user presses Shift+Enter and the form to be submitted when Enter is pressed.

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.