Fix delete of entire selection in macOS text input (#16276)
Fixes a bug where deleteBackward was checking for being at the start of the text before checking for a non-empty selection, breaking deletion when the entire text field was selected. Also removes an (incorrect) post-deletion position update that was redundant with code in insertText:replacementRange:, and thus having no effect. Fixes https://github.com/flutter/flutter/issues/46150
Showing
想要评论请 注册 或 登录