You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Calendar is placed inside a react-native Modal, sometimes when opened, the content of the modal initially slides out of the viewport.
Expected behaviour
Content always stays inside the viewport.
Code sample
I made a snack but strangely enough it's not reproducible there. It does happen on a simulated and real device though, and not just on my own machine.
Here's how I could reproduce it the simplest way:
New expo app: npx create-expo-app my-app && cd my-app
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.
Current behaviour
When
Calendar
is placed inside a react-nativeModal
, sometimes when opened, the content of the modal initially slides out of the viewport.Expected behaviour
Content always stays inside the viewport.
Code sample
I made a snack but strangely enough it's not reproducible there. It does happen on a simulated and real device though, and not just on my own machine.
Here's how I could reproduce it the simplest way:
npx create-expo-app my-app && cd my-app
npm i react-native-calendario
App.js
:npm run ios
(the bug only happens every few tries)
Screenshots
simulator.mp4
What have you tried
I have noticed that the issue stops when
numberOfMonths
is smaller than 4.Your Environment
Click To Expand
react-native info
output:The text was updated successfully, but these errors were encountered: