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
274 stars 37 forks source link

Readmore doesnt show anything on IOS, but works fine on Android #44

Closed markusmunk closed 2 years ago

markusmunk commented 2 years ago

import ReadMore from "@fawazahmed/react-native-read-more";

<ReadMore numberOfLines={5} style={styles.descriptionText} / seeMoreStyle={styles.readmoreAndLessbtnStyle} seeLessStyle={styles.readmoreAndLessbtnStyle} / seeMoreText="more" seeLessText="less"

{item.description}

          </ReadMore>
fawaz-ahmed commented 2 years ago

@markusmunk thanks for sharing this. In order to fix this I'll need some more info:

fawaz-ahmed commented 2 years ago

@markusmunk I'll be closing this issue due to no response. Also ver 2.2.2 was released. You may want to upgrade the package and try again. Incase issue persists, feel free to reopen. Thanks,