BugiDev / react-native-calendar-strip

Easy to use and visually stunning calendar component for React Native.
MIT License
933 stars 325 forks source link

Odd jumping when scrollable is true #283

Open gunnx opened 3 years ago

gunnx commented 3 years ago

Has anyone seen this behaviour before?

https://user-images.githubusercontent.com/1970063/111909387-ffe4c200-8a54-11eb-9261-2d22f892d42b.mov

peacechen commented 3 years ago

Please create a reproducible demo. This project has a sample app that you can use as a base: https://github.com/BugiDev/react-native-calendar-strip#development-with-sample-application

kresnaputra commented 2 years ago

@peacechen I have this case, when you try on android above version 10 you will get this bug. Maybe someone can fix this.

peacechen commented 2 years ago

This library uses RecyclerListView for the scrollable mode. We need your help debugging this, as I don't have a device to test on. Connect your physical device to the debugger and set breakpoints in Scroller.js. We could debug easier if this happens on the emulator.

kresnaputra commented 2 years ago

never mind what I said before. the problem is the style props, when I use the marginHorizontal or paddingHorizontal the bug is show up, otherwise when I use the marginLeft and marginRight style, it is work perfectly.