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

Set style.height to any appropriate value to stop this message. #1245

Closed
AnkitFlutterDev opened this issue May 8, 2024 · 7 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@AnkitFlutterDev
Copy link

AnkitFlutterDev commented May 8, 2024

i am creating admin panel using flutter web,
whenever i applied this html content : '''

Get started at https://flutter.dev today.

Flutter is Google's mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

<iframe src="https://www.youtube.com/embed/qU2d9kZMIr4" ></iframe>

'''

i got this warning :
Height of Platform View type: [WebViewState#409a5(lifecycle state: created)#888408485] may not be set. Defaulting to height: 100%.
Set style.height to any appropriate value to stop this message.
Width of Platform View type: [WebViewState#409a5(lifecycle state: created)#888408485] may not be set. Defaulting to width: 100%.
Set style.width to any appropriate value to stop this message.

if i removed this <iframe src="https://www.youtube.com/embed/qU2d9kZMIr4" ></iframe> no warning

plz help me as soon as possible

@AnkitFlutterDev AnkitFlutterDev added the bug Something isn't working label May 8, 2024
@AnkitFlutterDev
Copy link
Author

AnkitFlutterDev commented May 8, 2024

flutter doctor :
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.5, on macOS 13.5.1 22G90 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.89.0)
[✓] Connected device (2 available)

@AnkitFlutterDev
Copy link
Author

this will fixed in next release? or @daohoangson you suggesting me change something in my code?i can't undesrstand ur suggestion
abd4b02

@daohoangson
Copy link
Owner

This will be fixed in the next release.

@AnkitFlutterDev
Copy link
Author

thanks man for ur fast reply

@daohoangson
Copy link
Owner

The latest version (v0.15.1) has been released with the fix for this. Please try upgrading and let me know whether it works for you.

@daohoangson daohoangson added question Further information is requested and removed bug Something isn't working labels Jun 9, 2024
@AnkitFlutterDev
Copy link
Author

it's working fine now, Thanks.

@daohoangson
Copy link
Owner

That's great to hear. I'm closing this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants