Skip to content

picker text cropped #14575

Description

@ReactFan23

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>`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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