You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
html_editor_enhanced: ^2.2.0
shortcuts.dart
Line 359: final BuildContext primaryContext = primaryFocus!.context!;
======== Exception caught by services library ======================================================
The following _CastError was thrown during a platform message callback:
Null check operator used on a null value
When the exception was thrown, this was the stack:
#0 ShortcutManager.handleKeypress (package:flutter/src/widgets/shortcuts.dart:359:64)
#1 _ShortcutsState._handleOnKey (package:flutter/src/widgets/shortcuts.dart:708:20)
#2 FocusManager._handleRawKeyEvent (package:flutter/src/widgets/focus_manager.dart:1678:43)
#3 RawKeyboard._handleKeyEvent (package:flutter/src/services/raw_keyboard.dart:682:69)
#4 BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:73:49)
...
====================================================================================================
To Reproduce
Steps to reproduce the behavior:
Insert some HTML text
Then try to add some text from keyboard
try to insert space from keyboard
Device:
IOS emulator 14.5
The text was updated successfully, but these errors were encountered:
Describe the bug
html_editor_enhanced: ^2.2.0
shortcuts.dart
To Reproduce
Steps to reproduce the behavior:
Device:
IOS emulator 14.5
The text was updated successfully, but these errors were encountered: