Skip to content

Conversation

@jhlabs
Copy link

@jhlabs jhlabs commented Jan 14, 2026

Adds a new dragInteractionEnabled iOS prop to control whether text can be dragged from the webview to other apps (e.g., Notes, Messages).

Use case: Disable drag-and-drop for DRM-protected content to prevent users from extracting text.

Usage:

<WebView dragInteractionEnabled={false} />
  • Default: true (drag enabled, backwards compatible)
  • Set to false to disable iOS drag interactions while preserving text selection

Copy link

@mitchelljustin mitchelljustin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! only rec i'd make is maybe a slightly clearer name like 'dragToCopyEnabled'

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.

3 participants