However, to enter CJK characters, some input methods
require the user to enter a sequence of Latin characters
into the text field, then turn this sequence
into desired CJK characters (a referred to as text composition).
The Latin sequence is usually longer than the resulting CJK characters,
so setting a hard maximum character limit on a text field may mean
the user is unable to finish the text composition normally due to the
maxLength character limit.

Text composition is also used by some input methods to
indicate that the text within the highlighted composing
region is being actively edited, even when entering
Latin characters. For example, Gboard’s English keyboard on Android
(as with many other input methods on Android) puts the current word
in a composing region.