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

In iOS 18.2, the contextmenu cannot hide the "Copy Link With Highlight" option. #2467

Open
1 of 2 tasks
jungledrum opened this issue Dec 19, 2024 · 3 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@jungledrum
Copy link

jungledrum commented Dec 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In iOS 18.2, the contextmenu has introduced the "Copy Link With Highlight" option. The previous implementation:

_contextMenu = ContextMenu( settings: ContextMenuSettings(hideDefaultSystemContextMenuItems: true), );

is unable to hide this new option.

Expected Behavior

when hideDefaultSystemContextMenuItems: true can hide "Copy Link With Highlight"

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.3

Operating System, Device-specific and/or Tool

ios 18.2

Plugin version

v6.1.5

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@jungledrum jungledrum added the bug Something isn't working label Dec 19, 2024
@cryuhy
Copy link

cryuhy commented Dec 20, 2024

same

@cryuhy
Copy link

cryuhy commented Dec 20, 2024

you can remove builder.remove(menu: .share) in InAppWebView.swift

@jungledrum
Copy link
Author

you can remove builder.remove(menu: .share) in InAppWebView.swift

Thank you, it works

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