This pull request addresses the issue https://github.com/autoinfra-ai/lingtual-embedded-chat/issues/1 where the chat input box loses focus upon pressing the Enter key. The problem was causing an undesirable user experience, and this PR aims to resolve it by preventing the input element from losing focus after the Enter key is pressed.
Description:
This pull request addresses the issue https://github.com/autoinfra-ai/lingtual-embedded-chat/issues/1 where the chat input box loses focus upon pressing the Enter key. The problem was causing an undesirable user experience, and this PR aims to resolve it by preventing the input element from losing focus after the Enter key is pressed.
Changes Proposed: Modified File: /chatWidget/chatWindow/index.tsx