The issue arises because the InAppWebView can consume touch events, making it difficult for widgets placed above it (like dialogs or buttons) to receive those events. This happens because InAppWebView operates as a native platform view, which doesn't behave like regular Flutter widgets in terms of rendering and event handling.
Here’s how you can resolve the issue:
Since you're already using useHybridComposition: true, this ensures better interactivity with widgets above the InAppWebView. However, you may still need to ensure that the dialog or any overlay content is above the InAppWebView in the widget hierarchy.
Use a Stack to layer your content so that the dialog or buttons are above the InAppWebView.
If the dialog is not clickable, you can explicitly intercept gestures for the dialog or overlay content using a GestureDetector.