Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance when swiping to left & to the right. #8

Open
joshjhargreaves opened this issue Jun 3, 2018 · 4 comments
Open

Comments

@joshjhargreaves
Copy link
Owner

@duyluonglc I see on the iOS simulator, when swiping in either direction, sometimes I see blank screens. It looks to me like this is because we are using the onMomentumScrollEnd and setState to set the current date.

I think we might be able to achieve the same result without using setState and instead have VirtualizedList 'ask' for the items we wish to render for the given day/index in the calendar.

What do you think @duyluonglc ?

@duyluonglc
Copy link
Collaborator

sorry @joshyhargreaves I'm too busy with projects. I saw the delay issue, and sometime it shows blank screen. But have no solution. Let try your way and let me know result

@joshjhargreaves
Copy link
Owner Author

I will do @duyluonglc!

@joshjhargreaves
Copy link
Owner Author

Going to be having a look at this over the weekend!

@ivanichi
Copy link

ivanichi commented Apr 12, 2021

hi, it seems the date still changing slowly when the event list is shifted left & right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants