Skip to content

picker text cropped #14575

Closed
Closed
@ReactFan23

Description

hello i have big data (9000 Item) and using react native picker for select , when i open picker my inner text was cropped (android)
can anyone help me ?

see this pic

how i can break text at new line if text doesn't fit?

this is picker code

`

                    <Picker iosHeader="Select one"
                            mode="dropdown"
                            selectedValue={this.state.query[input.model]}
                            onValueChange={ e => this.query(input.model, e) }>
                        {array.map((val, index) => (
                            <Text key={index}
                                  label={ (val.name) ? val.name : val}
                                  value={(val.id) ? val.id : val}/>
                        ))}
                    </Picker>
                </View>`

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions