Open suragch opened 1 year ago
This issue can be solved by setting minLines: 1
MongolTextField(
style: const TextStyle(fontSize: 24),
controller: controller1,
maxLines: null,
minLines:1,
decoration: const InputDecoration(
border: OutlineInputBorder(),
),
)
This may be the reason that the MongolParagraph
width is 0 when setting empty "". Paragraph
seems to be width is not 0. but I'm not sure yet.
The MongolTextField is off center when empty and
maxLines
isnull
:After adding content the size changes and the cursor seems to fix itself (though the padding appears to be too wide):
This is observable in the example app.