Closed JanOwiesniak closed 6 years ago
Maybe related to https://github.com/oblador/react-native-vector-icons/issues/540
The size of the Icon should be 24
(see docs for icon
prop in the Tab Section of the README). You can't make the Icons larger than that or else they will be cut off, independend of the Icon Component you use.
Thanks for the super fast response.
But what if i really want bigger icons than 24
?
Is there any way to archive this?
Unfortunately, no. This Component follows the specs of Material Design Bottom navigation. Supporting more customizations like the icon size, label text size etc. would also mean that the animations need to adapt to that, or also be customizable, which would increase complexity, bugs, support, and so on...
Ok, get it. Thanks for the explanation. I will just go with a 24
size for now.
Same issue, for now solving issue placing ICON inside TEXT
<Text><Icon type="MaterialIcons" name="crop-portrait" /></Text>
What kind of Issue is this?
How are you using the Bottom Navigation?
Expected behavior
I expect icons to be fully visible, independent of the given size.
Actual behavior
Icons will be cut off if size increases above a given point.
Additional description and resources
Screenshot
Environment