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

webview long press event is fired when I tap flutter widget on Webview #684

Closed
5 tasks done
hwikang opened this issue Feb 19, 2021 · 3 comments
Closed
5 tasks done
Labels
bug Something isn't working stale

Comments

@hwikang
Copy link

hwikang commented Feb 19, 2021

Environment

Technology Version
Flutter version 1.22.5
Plugin version ^4.0.0+4
Android version
iOS version 14.4
Xcode version 12.4

Device information:

Description

Expected behavior:

I am using a stack for showing buttons on webview.
and there is a function when user longpress webview.
But the longpress event is fired when I click button(or whatever flutter widget)

I want nothing happen when I click flutter widget on webview
Current behavior:

long press event is fired when I click Flutter widget on webview

Steps to reproduce

 Stack(
            children: [
              InAppWebView(
                    initialUrl: "https://dev-codesketch.luxrobo.com",
              ),
              Container(
                child: Column(
                    mainAxisSize: MainAxisSize.min,
                    mainAxisAlignment: MainAxisAlignment.end,
                    children: [
                      _buildOutButtons(context),
                      _buildFunctionButtons(context),
                    ]),
              ),
             
            ],
          ),

Images

Stacktrace/Logcat

@hwikang hwikang added the bug Something isn't working label Feb 19, 2021
@pichillilorenzo
Copy link
Owner

I tried to debug it but I cannot resolve it. It seems there are issues with Flutter PlatformView and iOS WKWebView.
See:

Copy link

github-actions bot commented Oct 6, 2024

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

@github-actions github-actions bot added the stale label Oct 6, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants