-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read More text is not showing on Android Device. #45
Comments
I'm also getting this intermittent issue. Anecdotally, it seems to be on my Samsung devices more than my Pixel devices, but it seems to be specifically with Android. My Code: ...
renderTruncatedFooter(handlePress) {
return (
<TouchableOpacity onPress={handlePress}>
<Text>Show More</Text>
</TouchableOpacity>
);
}
renderRevealedFooter(handlePress) {
return (
<TouchableOpacity onPress={handlePress}>
<Text>Show Less</CRText>
</TouchableOpacity>
);
}
render() {
return (
<View style={styles.detailContainer}>
<ReadMore
textProps={{
allowFontScaling: false,
}}
numberOfLines={3}
renderTruncatedFooter={this.renderTruncatedFooter}
renderRevealedFooter={this.renderRevealedFooter}
>
<Text>{this.props.text}</Text>
</ReadMore>
</View>
);
}
} |
I'm getting this issue as well |
Me too |
Any solution for this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am Trying to Use Read More text on Android and IOS Devices. Read More text is working fine in the IOS and while Android Device, it is no showing intermittently on the screens. may I know the reason Why? am I missing something?\
I am attaching the ref code.
// Read More Handlers
const renderTruncatedFooter = (handlePress: any) => {
return (
Read more
);
};
// JSX
{subscriptionData.commitmentText}
The text was updated successfully, but these errors were encountered: