GithubHelp home page GithubHelp logo

Comments (11)

watadarkstar avatar watadarkstar commented on May 2, 2024 1

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

from react-native-calendars.

watadarkstar avatar watadarkstar commented on May 2, 2024

I have the same issue 👍 Also doesn't work in a TabNavigator using react-navigation. Commenting to follow.

from react-native-calendars.

sibelius avatar sibelius commented on May 2, 2024

This is problem with ListView and FlatList on React Native

from react-native-calendars.

watadarkstar avatar watadarkstar commented on May 2, 2024

@sibelius can you please link to a PR or issue that this is related to in react-native

from react-native-calendars.

winsaz avatar winsaz commented on May 2, 2024

Hi, according to what @sibelius said about ListView problems, I have solved it by modifying the library itself.

You need to add options
initialListSize={20} removeClippedSubviews={false}
to
<ListView />

This will solve the problem.

from react-native-calendars.

tautvilas avatar tautvilas commented on May 2, 2024

I'm not sure if this will help but did you try adding flex:1 to element containing CalendarList?

from react-native-calendars.

winsaz avatar winsaz commented on May 2, 2024

@tautvilas i have tried adding flex like this
<View style={{ flex: 1 }}> <CalendarList /> </View>

and it didnt work
or did u mean by anything else?

from react-native-calendars.

watadarkstar avatar watadarkstar commented on May 2, 2024

@tautvilas @winsaz I also tried that and it didn't work.

from react-native-calendars.

tautvilas avatar tautvilas commented on May 2, 2024

Hey, I actually never tried this lib with react-navigation, I will look into it when I get some time, but people who have more experience with react-navigation could help better @sibelius

from react-native-calendars.

sibelius avatar sibelius commented on May 2, 2024

this is the issue facebook/react-native#1831

it is not a problem with this package, we can close this

from react-native-calendars.

tautvilas avatar tautvilas commented on May 2, 2024

thx @sibelius

from react-native-calendars.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.