Closed Szendan closed 3 years ago
What environment is your app running in? Expo, CRNA, or bare RN project? Is the debugger attached?
Please try the example app in this project: https://github.com/BugiDev/react-native-calendar-strip/tree/master/example
Example project instructions: https://github.com/BugiDev/react-native-calendar-strip#development-with-sample-application
@peacechen I work in a bare RN project, debugger attached. I ran the example app on my phone. Same result: https://user-images.githubusercontent.com/46580703/103937493-1bfce680-5129-11eb-84b8-98f060107069.mp4
I was very confused at first, but watching that more closely you can see that the selected date you clicked on logs as 1-22 below. The numbers are being truncated on the OnePlus due to its larger than average font. There is a note about this in the Readme: https://github.com/BugiDev/react-native-calendar-strip#device-specific-notes
Another option you could try is to adjust the responsive sizing values: https://github.com/BugiDev/react-native-calendar-strip#responsive-sizing
Also see https://github.com/BugiDev/react-native-calendar-strip/issues/86#issuecomment-635135359
Thank you for your help and sorry for the time taken by my inattention. I had to change the font to something else than OnePlus' default. No it works.
I have copy pasted your code, changed the size of the strip to adjust to the enclosing box, left out blacklisted days and the first few dates are okay, but when I go to the next page numbers start to repeat rendering the strip useless.
I haven't seen other issues about this, so there's a high chance that I'm the dummy here
Here's my code:
I have a video of the incident: https://user-images.githubusercontent.com/46580703/103929271-5bbdd100-511d-11eb-8275-e792d952c3a2.mp4
Also I have a OnePlus![Screenshot_20210107-191849](https://user-images.githubusercontent.com/46580703/103929354-7db75380-511d-11eb-8ae1-7c7e69ad9621.jpg)
This is not the first time I found this package and I would really like it if it wouldn't fall apart for me. Please help me figure out what is going on!