SimformSolutionsPvtLtd/flutter_chatview

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

Opened this issue · 1 comments

[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

Is this only reproducible in Ubuntu?