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

On Android, after invoking Context Menu when user goes back to previous page with swipe back nav gesture, Context Menu doesn't hide automatically. Also, hiding it programatically is not possible. #2520

Open
1 of 2 tasks
milank-sahu opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@milank-sahu
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Load any webpage..
navigate to some other page in inside website.
Invoke the context menu.
Go back to previous page by swiping gesture without closing context menu.
Observe that, context menu is not going away automatically.

Expected Behavior

Context Menu should disappear in this case.

Steps with code example to reproduce

Steps with code example to reproduce
    await _webViewController?.setContextMenu(null);

    await _webViewController?.platform.clearFocus();

    await _webViewController!.clearFocus();

Stacktrace/Logs

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

Flutter version

3.27.3

Operating System, Device-specific and/or Tool

Android 11

Plugin version

6.1.5

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@milank-sahu milank-sahu added the bug Something isn't working label Feb 3, 2025
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

1 participant