You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: