question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Calendar List not showing inside react-navigation StackNavigator

See original GitHub issue

Hi, 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:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
watadarkstarcommented, Jun 7, 2017

@winsaz This works but be careful with removeClippedSubviews={false} as it might effect performance (see this) . Nonetheless thank you for the fix 👍

0reactions
tautvilascommented, Jul 13, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found