Closed Amansingh0807 closed 7 hours ago
Input Focus After Send: The input field regains focus after the message is sent to improve the user experience.
Prevent Sending Empty Spaces: The .trim() method ensures that users don't send empty spaces by mistake.
Improved Accessibility: Added aria-label to both the input field and send button for better accessibility.
Disable Input When No Connection: The input is disabled if remoteSocketId is null to avoid confusion for users.
Input Focus After Send: The input field regains focus after the message is sent to improve the user experience.
Prevent Sending Empty Spaces: The .trim() method ensures that users don't send empty spaces by mistake.
Improved Accessibility: Added aria-label to both the input field and send button for better accessibility.
Disable Input When No Connection: The input is disabled if remoteSocketId is null to avoid confusion for users.