Calendar List not showing inside react-navigation StackNavigator
See original GitHub issueHi, I’m trying to create a CalendarList after I click on a button. So, I decided to navigate the view to FilterDateScreen.js using StackNavigator react-navigation and show a CalendarList.
Here is my Code inside FilterDateScreen.js
<CalendarList onVisibleMonthsChange={(months) => {console.log('now these months are visible', months);}} pastScrollRange={50} futureScrollRange={50} scrollEnabled />
It shows nothing inside FilterDateScreen until I scroll it a bit. I have test it without using any react-navigation StackNavigator and it works fine (no scroll is needed). What am i missing?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Stack Navigator | React Navigation
By default the stack navigator is configured to have the familiar iOS and Android look & feel: new screens slide in from the...
Read more >reactjs - Screen is not showing up while using nested navigators
I want 4 screens inside the tab navigator and ...
Read more >React Native Navigation: Tutorial with examples
React Navigation is written in JavaScript and does not directly use the native navigation APIs on iOS and Android. Rather, it recreates some ......
Read more >Combining Stack, Tab & Drawer Navigations in React Native ...
Inside our newly created directory, I'd also create a StackNavigator.js file in there, and add our stack navigation setup.
Read more >createStackNavigator - React Navigation - Netlify
By default the stack navigator is configured to have the familiar iOS and Android look & feel: new screens slide in from the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@winsaz This works but be careful with
removeClippedSubviews={false}
as it might effect performance (see this) . Nonetheless thank you for the fix 👍thx @sibelius