react-native-monorepo icon indicating copy to clipboard operation
react-native-monorepo copied to clipboard

Swiping offset not working on iOS

Open nandorojo opened this issue 3 years ago • 3 comments

https://user-images.githubusercontent.com/13172299/114905059-87b8b480-9de6-11eb-9b25-d0e850570f65.mp4

nandorojo avatar Apr 15 '21 16:04 nandorojo

@nandorojo Can this be related to Gilroy-Medium font? Could you try to use default font (by providing custom theme object)?

As I understand on Android custom font is substituted to default font. So I have no issues in example application (even though I don't have Gilroy-* fonts there).

likern avatar Apr 15 '21 18:04 likern

Where should I edit the font? The theme is a pretty deep object.

nandorojo avatar Apr 15 '21 18:04 nandorojo

@nandorojo Yes. You have to substitute all objects with textFont property like here https://github.com/breeffy/react-native-calendar/blob/6db66e147d514c5a9b97bb0588c3db2ff7b16b4b/src/themes/CalendarThemeLight.ts#L17

You can use CalendarThemeLight as base object and change (using destructuring) properties where font is used. Or, for simplicity, you can just directly modify this file to test out things.

likern avatar Apr 15 '21 19:04 likern