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.
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.
[x] I acknowledge that all my contributions will be made under the project's license.
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