Open puddinator opened 1 year ago
I had a similar issue where my rendered items had a set width and weren't being centered. This occurred on both iOS and Android for me.
Setting the rendered item's style to include alignSelf: 'center'
fixed the issue for me.
Describe the bug If the renderItem item has a set width that is not the full window width, all the items will not be centered in the carousel. Strangely this only affects IOS not android.
To Reproduce Steps to reproduce the behavior:
Expected behavior Items should be centered. Removing the set width, or setting width to window dimension solves the issue.
Versions (please complete the following information):
Smartphone (please complete the following information):