Unexpected layout show in backgroud when using HtmlElementView with other widgets in dialog

199 views
Skip to first unread message

Pakpoom

unread,
Jun 24, 2021, 12:47:04 AM6/24/21
to Flutter Development (flutter-dev)
I build website using Flutter and I use HtmlElementView with other widgets (ex. button) to create image viewer dialog (I use HtmlElementView because I want to be able to right click to save image in browser) and when I resize my browser window, my website had unexpected layout of other widgets stacked in backgroud.
I also got this warning in Google Chrome Console
"Flutter was unable to create enough overlay surfaces. This is usually caused by too many platform views being displayed at once. You may experience incorrect rendering."

Is any way to solve or avoid this problem?

Thank you
Reply all
Reply to author
Forward
0 new messages