Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons in the dialog displayed above the HTML content, such as 'Yes' or 'No,' are not clickable, and their events are not working. How can this issue be resolved? #2510

Open
2 tasks
pramodkr123 opened this issue Jan 22, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@pramodkr123
Copy link

pramodkr123 commented Jan 22, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

final GlobalKey webViewKey = GlobalKey();
InAppWebViewController? webViewController;

	Expanded(child: Container(
                padding: EdgeInsets.only(top: dimen5),
                decoration: BoxDecoration(color: Colors.white,),
                child: InAppWebView(
                  key: webViewKey,
                  initialData: InAppWebViewInitialData(data: getHtmlContent()),
                  initialSettings: InAppWebViewSettings(
                    useHybridComposition: true,
                    transparentBackground: true,
                    javaScriptEnabled: true,
                    supportMultipleWindows: true,
                  ),
                  onWebViewCreated: (controller) {
                    webViewController = controller;
                  },
                )
              )
              ),
			  
			  
void reload(){
webViewController?.loadData(data: getHtmlContent()); // Reload the WebView
}

Expected Behavior

I want to display a dialog above an InAppWebView, and it should be clickable. Specifically, I am using a date selector for filtering, but it is not selectable above the InAppWebView.

Steps with code example to reproduce

Steps with code example to reproduce
// Paste your code here

Stacktrace/Logs

Stacktrace/Logs
<Replace this line by pasting your stacktrace or logs here>

Flutter version

v3.24.5

Operating System, Device-specific and/or Tool

Web

Plugin version

v6.1.5

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@pramodkr123 pramodkr123 added the bug Something isn't working label Jan 22, 2025
@scalVeerne
Copy link

Any solution?

@pramodkr123
Copy link
Author

@scalVeerne I've tried a lot, but I haven't found a solution yet. Currently, I'm not using this library because it's not usable for me if the click events don't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants