Exception thrown when dragging Android handles after cut
or regular delete
#1936
Labels
area_supereditor
Pertains to SuperEditor
bounty_junior
f:superlist
Funded by Superlist
time: 5
type_bug
Something isn't working
Package Version
main
To Reproduce
The behavior can be reproduced in the example application.
Steps to reproduce the behavior:
Exception: Tried to drag an expanded Android handle but the selection is collapsed.
followed byException: Tried to pan an Android drag handle but the focal point is null. The focal point is set when the drag begins. This shouldn't be possible.
The same behavior can be observed if the selected text is removed via backspace not just cut.
Additionally, when text is cut or deleted and you type something, the text selection handlers continue to indicate an uncollapsed selection even though it is actually collapsed.
Actual behavior
The selection handlers indicate a non-collapsed document selection and it seems other parts of super_editor don't expect this.
Expected behavior
After cut or deletion, the selection handlers should probably be removed or collapsed.
Platform
Android
Flutter version
The text was updated successfully, but these errors were encountered: