meliorence / react-native-render-html

iOS/Android pure javascript react-native component that renders your HTML into 100% native views
https://meliorence.github.io/react-native-render-html/
BSD 2-Clause "Simplified" License
3.48k stars 589 forks source link

can't selectable highlight in IOS #550

Closed apabuatapa closed 2 years ago

apabuatapa commented 2 years ago

Decision Table

Good Faith Declaration

Description

Screen Shot 2022-02-03 at 12 54 14

i want to make my description page using html and can be copied, but when i use this library and i use it on ios selectable can only copy can't select , how to solve it?

React Native Information

react-native: ^0.64.3

RNRH Version

"react-native-render-html": "^6.1.0",

Tested Platforms

Reproduction Platforms

Minimal, Reproducible Example

https://github.com/meliorence / react-native-render-html

Additional Notes

No response

apabuatapa commented 2 years ago

what missing reproduction ?? I don't know??

jsamr commented 2 years ago

Dear @apabuatapa, we have a process to handle bug reports, in which reports with missing critical information can be closed without notice. I suggest you read our contribution guide to get familiar with what we mean by "reproduction", see https://github.com/meliorence/react-native-render-html/blob/master/CONTRIBUTING.adoc

I will be very happy to reopen, help and investigate when the required information is provided in the body of the ticket. Thank you for your understanding!

CDBridger commented 2 years ago

Here is a reproducible example https://snack.expo.dev/0_Ifj62U-

Run this snack on iOS and try and highlight only a subset of the text and you'll find you cant. There have been multiple issues raised on this but no updates recently (in the past year). Is this bug fixable or is dependent on some existing bug in react native?

jsamr commented 1 year ago

This is a known bug in React Native, involving nested Text components. Reproduction here: https://snack.expo.dev/@jsamr/text-fails-to-be-selectable-on-ios Feel free to report to react native team: https://github.com/facebook/react-native/issues/new/choose