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

Textfield _refreshTextLineMetrics seems to break when debugging in Firefox #327

Open
mayorbyrne opened this issue Nov 19, 2019 · 0 comments

Comments

@mayorbyrne
Copy link

Somewhere between Dart 2.3 / Webdev 1.0.1 and the latest Dart 2.6.2 / Webdev 2.5.2, calling almost every getter on a TextField seems to throw an error when debugging in Firefox. Other browsers may be affected, but I haven't tested.

The following code will toss an error when running locally in Firefox with later versions of the SDK/WebDev:

  TextField text = new TextField("hello world");
  print(text.width);

If and when a stack trace is provided (mostly it just appears as Error:), it appears to reference _refreshTextLineMetrics text_field.dart:327

Reverting the SDK and WebDev appears to run the above code without error.

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