In React Native, when I try to scroll flatlist to top, I am getting an empty space. I am trying to scroll it to top by clicking a button calling scrollToIndex, still I am getting an empty space.
This issue is happening only in iOS, it works fine in Android.