fawaz-ahmed / react-native-read-more

React native library to show text in a condensed way and expand when needed. Drop in replacement for Text component and highly customizable. Can be used with expo or native cli for react native.
https://www.npmjs.com/package/@fawazahmed/react-native-read-more
MIT License
275 stars 37 forks source link

Not working with react-native-web #79

Closed eliarc closed 1 year ago

eliarc commented 1 year ago

Demo: https://www.loom.com/share/11f40ee1bda84aa886c5f92699e55eec

fawaz-ahmed commented 1 year ago

Hi @eliarc , this library will work only for android and ios. It wont work on web, reason being it depends on onTextLayout and onLayout callback props from Text component.

eliarc commented 1 year ago

@fawaz-ahmed got it, thanks for the reply 🙏