Skip to content

[v3.4.1] Resize and Input Improvements

Latest

Choose a tag to compare

@ryaneewx ryaneewx released this 16 Oct 06:43
4527183

[3.4.1] - 2023-10-16

Enhancements

  • Enhanced Input Focus:

    • Improved the input box's behavior to ensure it regains focus effectively after toggling the disabledInput prop for smoother and more intuitive user interaction.
  • Input Box Resizing:

    • Adjusted the input box to prevent unintentional expansion of the chat window's width, maintaining a consistent size for a better user experience.
  • Emoji Picker Dimension Control:

    • Introduced constraints to ensure the emoji picker doesn't expand beyond the chat window's dimensions, keeping the interface clean and user-friendly.
  • Plain Text Input Enhancement:

    • Provided an option to force plain text inputs in the chat box, ensuring only plain text is accepted, and styled texts are avoided.
    • Added the disableRichTextInput prop for better customization, defaulted to false for backwards compatibility. Pass this prop as true to use the in-built function.

Performance

  • Improve JS Payload Size:
    • Decreased built library size from 897KiB to 424KiB to improve page loading times.

Recommendation

  • As always, we recommend thoroughly testing these changes in a staging or development environment before deploying them in production to ensure smooth transitions and compatibility with your specific setup. We appreciate your feedback and continuously strive to enhance the user experience. Let us know if you encounter any issues or have suggestions for future improvements.