Skip to content
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

[Question] Issue related to dropdown height #255

Open
dennisxddxdd opened this issue Mar 18, 2024 · 1 comment
Open

[Question] Issue related to dropdown height #255

dennisxddxdd opened this issue Mar 18, 2024 · 1 comment

Comments

@dennisxddxdd
Copy link

I am trying to show something long in the dropdown box. When an item is selected, the dropdown is unable to show all the selected text. I tried to add selectedTextProps={{ numberOfLines: 3, style: { flex: 1 } }} as the dropdown props, the text is not fully shown. I also tried to set a larger height for the dropdown box component, but the height of the area for displaying the text and the icon seems fixed, the text is still truncated even though there is empty spaces in the dropdown box. I read the source code and found that this seems limiting the height of the selectedText. I wonder if there is other better ways to solve my problem or it requires the change of source code?

@ganpatmalekar
Copy link

Same issue I'm facing, If the selected text length is long then after selecting, it is getting truncating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants