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

id Property Inside HTML Tags Doesn't Work #238

Closed
yasinarik opened this issue Mar 4, 2020 · 1 comment
Closed

id Property Inside HTML Tags Doesn't Work #238

yasinarik opened this issue Mar 4, 2020 · 1 comment

Comments

@yasinarik
Copy link

Problem:

I want to use this package to create a basic HTML box for my custom DropZone widget.

If I can directly reach (or target) the widget using window.document.getElementById("drop_zone") I will be able to finish it.

However, the above code returns null .

I've also checked via Chrome DeveloperTools and cannot find an HTML element with the id="drop_zone" 😩

Here is the main issue: flutter/flutter#51842

import 'package:flutter_html/flutter_html.dart' as flutterHtml;
.
.
.
child: Center(
  child: flutterHtml.Html(
    data: 
     """
    <iframe id='drop_zone' class="dropzone_class"  width="$_width" height="$_height" style.border = '2'></iframe>
     """,
  ),
.
.
.
@Sub6Resources
Copy link
Owner

This appears to be an issue with the official flutter html library, not with this library. If you believe this is a mistake, let me know and I'll reopen this.

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