Open medmo7 opened 3 years ago
Hey @medmo7 did you find a workaround for this?
I've added this prop to MenuItem:
<MenuItem
textStyle={{
flexWrap: 'wrap',
}}
Alright, thanks
Hello, I've the same issue here, I understand reading menu item file, the MenuItem component already wrap the children in a Text.
Passing ellipsizeMode='clip'
to <MenuItem>
make the text display without ellipsis, but as not every Text's props are available, I can't set a numberOfLines
. That's especially problematic for french because we use to be very verbose.
<MenuItem ellipsizeMode='clip'>
Politique de confidentialité
</MenuItem>
An option would be to set a textProps
in <MenuItem />
to be available to override the props we want.
Thank for this library. I'm trying to wrap the text inside MenuItem so the totality of it is shown, now it is cut. Here is my implementation:
Thanks.