acro5piano / react-native-big-calendar

gcal/outlook like calendar component for React Native
https://react-native-big-calendar.vercel.app
MIT License
441 stars 144 forks source link

BUG: GOOGLE PIXEL(Android 13) hang on scrolling horizontal #752

Open Jack-Alfie opened 1 year ago

Jack-Alfie commented 1 year ago

Describe the bug On Android 13 If I scroll the diary horizontally then after few seconds the app got hanging. if I move to other screens then came back to diary screen it works for few seconds and then hangs again.

Steps To Reproduce Open the calendar in Google Pixel 6,6a on android 13 Scroll the calendar horizontally then you face the issue.

Expected behaviour I expect it to scroll smother like other devices.

Environment:

react-native-big-calendar: 3.2.3 react-native: 0.68.2 react:17.0.2 OS: android 13 devices

greenboots88 commented 1 year ago

@acro5piano I also have this problem to. Is there a fix as this is affecting all my android users

acro5piano commented 1 year ago

I run the demo app on my Pixel 4a with Android 13, but couldn't reproduce the problem. Can you reproduce it by following the instruction?

https://github.com/acro5piano/react-native-big-calendar#running-demo-on-a-real-device-and-develop

greenboots88 commented 1 year ago

@acro5piano I have run the demo app on a Pixel6 phone and the problem is still there. When swiping horizontally or vertically, after 8 swipes it slows and then eventually crashes

acro5piano commented 1 year ago

Hmm, I did the same thing and not reproduced. Sorry

greenboots88 commented 1 year ago

@acro5piano the lag is due to the number of events. If there are over 500+ events then the lagging happens around 20-30 swipes, more events, the more it lags.