Skip to content

iOS crash when deleting a chip with the keyboard #1

Closed
@Axort

Description

@Axort

Works great! But there's an issue (only in iOS):
When pressing the keyboard's delete key after a chip, the app crashes. This is the log:

*** First throw call stack:
(
0   CoreFoundation                      0x0000000105aa91bb __exceptionPreprocess + 331
1   libobjc.A.dylib                     0x0000000105047735 objc_exception_throw + 48
2   CoreFoundation                      0x0000000105aa9015 +[NSException raise:format:] + 197
3   CoreFoundation                      0x00000001059f12d3 -[__NSCFString substringWithRange:] + 163
4   UIKitCore                           0x000000010eaccc6e -[TIDocumentState(UITextInputAdditions) copyTextInRange:fromDocument:] + 92
5   UIKitCore                           0x000000010eacd620 -[TIDocumentState(UITextInputAdditions) initWithDocument:contextBoundary:] + 599
6   UIKitCore                           0x000000010eaccab9 +[TIDocumentState(UITextInputAdditions) documentStateOfDocument:] + 69
7   UIKitCore                           0x000000<…>

I think is a Flutter issue and not a problem with this package because I can replicate this in any TextField when trying to delete this >`< character. But I don't know if you have noticed this and if you know the solution to this crash.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions