Skip to content

the more cannot show, when the text is from state #13

@shidaying

Description

@shidaying

// the more cannot show and onReady function is not execute; , this.state.introduction data is from a fetch , I don't know how to fix it,

<ReadMore numberOfLines={2} renderTruncatedFooter={this._renderTruncatedFooter} renderRevealedFooter={this._renderRevealedFooter} onReady={this._handleTextReady}> <Text style={styles.introduce}> // the more cannot show and onReady function is not execute; , this.state.introduction data is from a fetch , I don't know how to fix it, {this.state.introduction} {/*{'wodasdkasdkasbdjabswoaoda我爱的那首搭上打瞌睡大街上大巴见死不救博大精深不对劲啊是djabsdjabsjdbasjdbasjbdjasbjshshhshshshshshhshshhshshshshshsh'}*/} // the more can show </Text> </ReadMore>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions