skip to Main Content

Hermes enabled

OS: iOS

getting with FlatList and ScrollView

When developing ScrollView or FlatList, having no issues with the scroll bar. In production, sometimes it looks ugly and positions at the middle of the screen, sometimes with huge/small offset from the right side (where it should be), sometimes even on the left side.
Here is the image of what I am getting:

enter image description here

Thank you mates in advance!

2

Answers


  1. Try adding scrollIndicatorInsets={{ right: 1 }} to ScrollView

    Login or Signup to reply.
  2. Adding scrollIndicatorInsets={{ right: 1 }} within FlatList properties worked fine for me

    • currently using react-native 0.68.2
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search