Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当我输入表情后,切换到普通文本输入,如果输入的是拼音 则报错 #237

Open
Echo-BraveShine opened this issue May 22, 2024 · 0 comments

Comments

@Echo-BraveShine
Copy link

Version

flutter 3.19.6

Platforms

iOS

Device Model

iphone8p iOS14.7.1

flutter info

======== Exception caught by scheduler library =====================================================
The following assertion was thrown during a scheduler callback:
'package:extended_text_field/src/official/widgets/editable_text.dart': Failed assertion: line 4026 pos 14: '!composingRange.isValid || composingRange.isCollapsed': is not true.

When the exception was thrown, this was the stack: 
#2      _EditableTextState._updateComposingRectIfNeeded (package:extended_text_field/src/official/widgets/editable_text.dart:4026:14)
#3      _EditableTextState._schedulePeriodicPostFrameCallbacks (package:extended_text_field/src/official/widgets/editable_text.dart:3932:5)
#4      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1386:15)
#5      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1322:11)
#6      SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1169:5)
#7      _invoke (dart:ui/hooks.dart:312:13)
#8      PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:399:5)
#9      _drawFrame (dart:ui/hooks.dart:283:31)
(elided 2 frames from class _AssertionError)
====================================================================================================

How to reproduce?

当我表情后,切换到普通文本输入,如果输入的是拼音 则报错

Logs

No response

Example code (optional)

No response

Contact

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant