Skip to content

HTML package is messing up with some emojis #391

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

Closed
REKURDennis opened this issue Aug 29, 2020 · 1 comment
Closed

HTML package is messing up with some emojis #391

REKURDennis opened this issue Aug 29, 2020 · 1 comment

Comments

@REKURDennis
Copy link

REKURDennis commented Aug 29, 2020

Here is a small example app.

Steps to reproduce:

  1. Open the app on iOS 13.6 use flutter_html: 1.0.2
  2. Select the text field
  3. Type "☀️"

Expected: The sun is displayed correctly
Actual: The sun is displayed as different symbol

There are more emojis with the same problem but not all.

If you remove the "HTML" widget and restart the app (really stop the app and start again, hot reload or the restart button in VS Code is not enough) the emojis are fine again.

import 'package:flutter_html/flutter_html.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: SafeArea(
                  child: Column(
            children: [
              TextField(),
              Html(
              data: "<h1>text</h1>"
            ),
            ],
          ),
        )
      ),
    );
  }
}```
@erickok
Copy link
Contributor

erickok commented Feb 8, 2021

I can't really reproduce this. Is this still an issue? Same on Android?

@erickok erickok closed this as completed Feb 8, 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