Skip to content

HTML package is messing up with some emojis #391

Closed
@REKURDennis

Description

@REKURDennis

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>"
            ),
            ],
          ),
        )
      ),
    );
  }
}```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions