0

I have a webview implemented in my flutter application which is wrapped by an Ignorepointer Widget. I am setting ignoring as true upon a condition to prevent touch events of webview.

But it is not working as expected, I am able to touch webview even if ignoring is true. This is observed only in IOS not in android.

Kindly provide me a solution.

I have also implemented absorbpointer instead of ignorepointer still this issue is replicating.

Code

IgnorePointer( ignoring:true, child:InAppWebview( .... ) )

1 Answers1

-1

Try this soulution:

AbsorbPointer(child: WebView(...))

Reference: https://stackoverflow.com/a/57900810/8923759

Alif
  • 1,005
  • 10
  • 9