rodydavis / easy_web_view

Flutter Web Views on Mobile and Web made easy!
https://rodydavis.github.io/easy_web_view/
MIT License
178 stars 94 forks source link

Drawer does not respond when drawn over an EasyWebView #7

Open sagasti opened 4 years ago

sagasti commented 4 years ago

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.

rodydavis commented 4 years ago

Can you provide some small example code?

sagasti commented 4 years ago

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?

rodydavis commented 4 years ago

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

sagasti commented 4 years ago

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.

rodydavis commented 4 years ago

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?

sagasti commented 4 years ago

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 notifications@github.com 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 commented 4 years ago

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 jorge@sagasti.com 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 notifications@github.com 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.

rodydavis commented 4 years ago

Working on this branch but still no success:

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

d-wolf commented 4 years ago

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

rodydavis commented 4 years ago

Blocked by the flutter issue

borjitisss commented 3 years ago

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

rodydavis commented 3 years ago

Nice fix!

On Tue, Dec 29, 2020 at 10:51 PM borjitisss notifications@github.com 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