easy_web_view icon indicating copy to clipboard operation
easy_web_view copied to clipboard

Drawer does not respond when drawn over an EasyWebView

Open sagasti opened this issue 4 years ago • 12 comments

First of all, thanks for sharing, I've been straggling for days to show a page inside a Widget in iOS, Android and Web with the sane code base. I use a Drawer in the AppBar, when it opens over an EasyWebView it stops responding. Is there a way to solve this issue? Thanks in advance.

sagasti avatar Mar 21 '20 19:03 sagasti

Can you provide some small example code?

rodydavis avatar Mar 22 '20 08:03 rodydavis

Hi, I have to clarify this issue. It only happens running the app on the Web. It works smoothly on iOS and Android. I cannot interact with anything that I display over an EasyWebView. It first happened with a drawer, but I when I display a Dialog, same thing happens. I can't interact with anything that I draw over an EasyWebView, the clicks go directly the page I am showing. Am I clear enough? English, as you may see is not my first language :-) Any idea on how I can solve this issue?

sagasti avatar Mar 24 '20 05:03 sagasti

Can you check with the latest release? And on the dev or master channel for flutter?

rodydavis avatar Mar 24 '20 18:03 rodydavis

It is still happening with easy_web_view 1.2.0 on channels dev and master. I have uploaded an app so you can see the problem at http://api-bank.totalneo.com, just use the anonymous login. When you logout a dialog will appear. Do you want me to add a Drawer.

sagasti avatar Mar 24 '20 18:03 sagasti

Gotcha, yeah that is super annoying, I’ll see what I can do to fix that. Maybe I could add a property to disable and enable interaction?

rodydavis avatar Mar 24 '20 19:03 rodydavis

Good idea. Probably we always know when there is a widget covering an easy_web_view widget. So we can disable interaction temporarily. It’s a great solution while we try to find someone to blame for the issue :-)


Light travels faster than sound. This is why some people appear bright until you hear them speak

On 24 Mar 2020, at 16:21, Rody Davis [email protected] wrote:

Gotcha, yeah that is super annoying, I’ll see what I can do to fix that. Maybe I could add a property to disable and enable interaction?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rodydavis/easy_web_view/issues/7#issuecomment-603456468, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANABFLBG7A6P7YDIEVBSOTRJEB3FANCNFSM4LRATF4A.

sagasti avatar Mar 24 '20 19:03 sagasti

BTW, flutter_webview_plugin does not stop the dialog from working, but it does not display the same page as easy_web_view does. I prefer to use yours. ;-)


To steal ideas from one person is plagiarism. To steal from many is research.

On 24 Mar 2020, at 16:25, Jorge Sagasti [email protected] wrote:

Good idea. Probably we always know when there is a widget covering an easy_web_view widget. So we can disable interaction temporarily. It’s a great solution while we try to find someone to blame for the issue :-)


Light travels faster than sound. This is why some people appear bright until you hear them speak

On 24 Mar 2020, at 16:21, Rody Davis [email protected] wrote:

Gotcha, yeah that is super annoying, I’ll see what I can do to fix that. Maybe I could add a property to disable and enable interaction?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sagasti avatar Mar 24 '20 19:03 sagasti

Working on this branch but still no success:

https://github.com/rodydavis/easy_web_view/tree/scrolling-and-guestures

rodydavis avatar Mar 24 '20 21:03 rodydavis

Probably the same issue in the flutter repo https://github.com/flutter/flutter/issues/54027.

d-wolf avatar Apr 28 '20 11:04 d-wolf

Blocked by the flutter issue

rodydavis avatar Jul 28 '20 20:07 rodydavis

Hello, I find a way to solve in flutter web.

If you add:

<style type="text/css"> flt-scene-host { pointer-events: auto !important; } </style>

in the head section of web/index.html , the problem solves.

Regards

borjitisss avatar Dec 30 '20 04:12 borjitisss

Nice fix!

On Tue, Dec 29, 2020 at 10:51 PM borjitisss [email protected] wrote:

Hello, I find a way to solve in flutter web.

If you add:

in the head section of web/index.html , the problem solves.

Regards

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/rodydavis/easy_web_view/issues/7#issuecomment-752326934, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHOOFX7MHK2D27FCPLAFIA3SXKWVRANCNFSM4LRATF4A .

-- Rody Davis Jr

rodydavis avatar Dec 30 '20 19:12 rodydavis