akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.19k stars 952 forks source link

The accessoryRight display of ListItem is incomplete #1792

Open show110695 opened 7 months ago

show110695 commented 7 months ago

image

image

"react": "18.2.0", "react-native": "0.72.6", "@eva-design/eva": "^2.2.0", "@react-navigation/native": "^6.1.8", "@react-navigation/native-stack": "^6.9.14", "@ui-kitten/components": "^5.3.1", "@ui-kitten/eva-icons": "^5.3.1",

greenfrvr commented 2 weeks ago

The problem is that the accessory in ListItem was mostly designed for icons there so it has a fixed width in mappings which is equal to 24. As a workaround, you can apply custom mappings with the adjusted iconWidth property and increase width allowed for accessory component, but keep in mind that it will be fixed anyway, there is now to apply flex to accessory component.