santa112358/hashtagable

Issue: Cursor always jumps back to beginning of text when a hashtag is inserted

Opened this issue · 1 comments

Hello

I'm using Flutter Web and using the hashtagable field as follows:

child: HashTagTextField( decoratedStyle: TextStyle(color: blue), decorateAtSign: true, autofocus: true, minLines: 5, maxLines: 7, controller: _content, )

When typing text without any hashtags or @ signs in the field behaves as normal. However as soon as I add a hashtag or @ sign the cursor jumps to the beginning of the text and stays there no matter where I click in the textfield.

Thank you for any help

Trudi

@TMorrisNordhaugr
Thank you for the report. The cause is using on flutter web, but I haven't found the solution yet. Please wait till I update🙏