Skip to content

Add @majornutcracker/react-native-selectable-text - #2828

Merged
Simek merged 2 commits into
react-native-community:mainfrom
JoshuaPariona:add-majornutcracker-react-native-selectable-text
Sep 24, 2026
Merged

Simek merged 2 commits into
react-native-community:mainfrom
JoshuaPariona:add-majornutcracker-react-native-selectable-text

Conversation

@JoshuaPariona

Copy link
Copy Markdown
Contributor

Adds @majornutcracker/react-native-selectable-text, an Expo module that renders HTML inside react-native-webview with native text selection and persistent, serializable highlights (Rangy-backed): highlight the selection, store the serialized payload, restore it on a later mount, and tap a highlight to get its id, text and on-screen rect.

I maintain the library.

Flags in the entry:

  • ios / android — supported; web is not.
  • expoGo — verified today on both platforms: the native module is optional, so the package loads in Expo Go, where react-native-webview already ships.
  • newArchitecture — verified in a prebuilt app on React Native 0.86.3, with newArchEnabled=true on Android and the Fabric pods on iOS.

The examples link points at the runnable reader app in the repo, and the image is the iOS demo GIF.

@Simek Simek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hey @JoshuaPariona, thanks for adding a new entry to the directory! 👍

@Simek
Simek merged commit 51c05c7 into react-native-community:main Sep 24, 2026
2 checks passed
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.

2 participants