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

ios 输入框 双击或者长按会报错 #53

Open
liaoli opened this issue Jul 16, 2020 · 4 comments
Open

ios 输入框 双击或者长按会报错 #53

liaoli opened this issue Jul 16, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@liaoli
Copy link

liaoli commented Jul 16, 2020

The following NoSuchMethodError was thrown building _OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#ce416](dirty, dependencies: [MediaQuery], state: _OverlayEntryWidgetState#61a44):
The getter 'cutButtonLabel' was called on null.
Receiver: null
Tried calling: cutButtonLabel

The relevant error-causing widget was:
Overlay file:///Users/mac/Downloads/cool_ui-master/lib/keyboards/keyboard_root.dart:33:20
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 _CupertinoTextSelectionControls.buildToolbar (package:flutter/src/cupertino/text_selection.dart:365:44)
#2 TextSelectionOverlay._buildToolbar (package:flutter/src/widgets/text_selection.dart:556:34)
#3 _OverlayEntryWidgetState.build (package:flutter/src/widgets/overlay.dart:177:34)
#4 StatefulElement.build (package:flutter/src/widgets/framework.dart:4619:28)

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.95. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Jul 16, 2020
@liaoli liaoli changed the title 输入框 长按会报错 ios 输入框 双击或者长按会报错 Jul 16, 2020
@Im-Kevin
Copy link
Owner

你是什么版本

@liaoli
Copy link
Author

liaoli commented Jul 16, 2020

最新版本,你的demo也会这样

@liaoli
Copy link
Author

liaoli commented Jul 17, 2020

有没有解决方案啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants