Skip to content

点击事件延迟响应 #4

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

Open
xietian0908 opened this issue May 16, 2023 · 1 comment
Open

点击事件延迟响应 #4

xietian0908 opened this issue May 16, 2023 · 1 comment

Comments

@xietian0908
Copy link

Version

点击事件延迟响应

Platforms

Android

Device Model

galaxy tab A7 (Android 11)

flutter info

Flutter (Channel unknown, 3.3.10, on Microsoft Windows [版本 10.0.18363.592], locale zh-CN)
    ! Flutter version 3.3.10 on channel unknown at E:\flutter sdk\flutter
    ! Upstream repository unknown
    • Framework revision 135454af32 (5 months ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\Administrator\AppData\Local\Android\Sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_HOME = C:\Users\Administrator\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.5.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.5.33530.505
    • Windows 10 SDK version 10.0.22000.0

    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] Connected device (3 available)
    • SM T500 (mobile)  • R9TR301TH0J • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [版本 10.0.18363.592]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 112.0.5615.121

[√] HTTP Host Availability
    • All required HTTP hosts are available

How to reproduce?

fconsole: ^2.3.1
在三星平板中有时候 会出现界面里面clear,hide,点击flow详情放回键点击无效;然后过一段时间会点击的事件才生效;这里是有推送信息一直在后台打印的

Logs

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: setState() called after dispose(): _FlowInfoState#abe98(lifecycle state: defunct, not mounted)
E/flutter ( 9529): This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
E/flutter ( 9529): The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
E/flutter ( 9529): This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().

Example code (optional)

No response

Contact

No response

@xietian0908 xietian0908 changed the title [Bug report] 点击事件延迟响应 May 16, 2023
@xietian0908
Copy link
Author

f26a91c97f2302391aa982de36ced538.mp4

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