Skip to content

feat: add selectionMenuConfig prop to control built-in selection menu items#285

Merged
hryhoriiK97 merged 1 commit intomainfrom
feat/selection-menu-config
May 1, 2026
Merged

feat: add selectionMenuConfig prop to control built-in selection menu items#285
hryhoriiK97 merged 1 commit intomainfrom
feat/selection-menu-config

Conversation

@hryhoriiK97
Copy link
Copy Markdown
Collaborator

@hryhoriiK97 hryhoriiK97 commented May 1, 2026

What/Why?

Fixes: #272

Adds a selectionMenuConfig prop to control the visibility of built-in text selection menu actions ("Copy as Markdown" and "Copy Image URL"). Previously these actions were always shown; now consumers can opt out of either or both while keeping the native selection menu and any custom contextMenuItems intact.

Testing

PR Checklist

  • Code compiles and runs on iOS
  • Code compiles and runs on Android
  • Updated documentation/README if applicable
  • Ran example app to verify changes

@hryhoriiK97 hryhoriiK97 merged commit 33bd036 into main May 1, 2026
5 checks passed
@hryhoriiK97 hryhoriiK97 deleted the feat/selection-menu-config branch May 1, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for displaying the native context menu

1 participant