SimformSolutionsPvtLtd / flutter_chatview

Highly customisable chat UI with reply and reaction functionality.
https://pub.dev/packages/chatview
MIT License
293 stars 129 forks source link

Flutter Web: Multilingual Text Input Displays Double Lines on Ubuntu 22.04 LTS #249

Open BdDev82 opened 2 weeks ago

BdDev82 commented 2 weeks ago

[Describe the bug] When running a Flutter web application on Ubuntu 22.04 LTS, input text fields display an issue where, upon entering multilingual characters (such as Korean, Japanese, or Chinese), the input text is rendered with two lines instead of one. This bug only seems to appear with certain languages and does not occur when using standard English input.

[To Reproduce] Steps to reproduce the behavior:

Open the Flutter web application on an Ubuntu 22.04 LTS system.
Navigate to any page containing an input text field.
Focus on the text field and begin typing using a non-English language (e.g., Korean, Japanese, or Chinese).
Observe the input text field displaying the characters across two lines instead of one.

[Expected behavior] The input text should appear on a single line as expected, regardless of the language being entered. But when I set "textFieldConfig: TextFieldConfiguration(...maxLine:1...)", this issue doesn't appear.

[Screenshots] Look at tha Bottom-Left Corner Text Input Field. When I tyring to input "이것은 메시지 입니", this issue happens all the time. 스크린샷 2024-08-30 09-06-25

[Desktop (please complete the following information)]

OS: Ubuntu 22.04 LTS
Browser: [e.g. Chrome, Firefox]
Version: [Browser version]

[Smartphone (please complete the following information)] I didn't checked yet.

[Additional context] NA

vatsaltanna-simformsolutions commented 2 weeks ago

Is this only reproducible in Ubuntu?