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

Using 2.0.0-nullsafety.0, when I click on the picture, an error is reported in flutter version 2.0.3! ! ! ! #592

Closed
weiweilidd01 opened this issue Mar 23, 2021 · 3 comments

Comments

@weiweilidd01
Copy link

'package:flutter/src/gestures/tap.dart': Failed assertion: line 201 pos 14: '_down == null && _up == null': is not true.
#0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
#1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
#2 BaseTapGestureRecognizer.addAllowedPointer (package:flutter/src/gestures/tap.dart:201:14)
#3 MultipleTapGestureRecognizer.addAllowedPointer (package:flutter_html/src/utils.dart:22:11)
#4 GestureRecognizer.addPointer (package:flutter/src/gestures/recognizer.dart:102:7)
#5 RawGestureDetectorState._handlePointerDown (package:flutter/src/widgets/gesture_detector.dart:1204:18)
#6 RenderPointerListener.handleEvent (package:flutter/src/rendering/proxy_box.dart:2821:29)
#7 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:361:22)
#8 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:278:11)
#9 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:316:7)
#10 GestureBinding.handlePointerEvent (package:flutt<…>

@weiweilidd01
Copy link
Author

I used the ios simulator to report this error, the real device is normal

@erickok
Copy link
Collaborator

erickok commented Mar 23, 2021

That's a lot of exclamation marks. The error isn't really showing any crash in flutter_html itself, so it is a bit tricky to know what is happening. Could you give a minimal reproducable example of the html you are using and how you set up Html with the onTap?

@erickok
Copy link
Collaborator

erickok commented Apr 1, 2021

I'll happily look into this if you can provide more details, especially with a minimal reproducible example.

@erickok erickok closed this as completed Apr 1, 2021
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

2 participants