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

Issue Items do not appear at the right moment when scrolling down. #62

Closed
ivanjeremic opened this issue Dec 8, 2020 · 0 comments
Closed
Labels
invalid This doesn't seem right

Comments

@ivanjeremic
Copy link

ivanjeremic commented Dec 8, 2020

If you take a look at my Site https://dev-institut-fuer-bewegende-kuenste-kohl.vercel.app/ you can see that the Fade works for the news but there is a problem that it does not appear at the right moment when you go down, somehow it feels like the box size or layout size makes the problem to react-awesome-reveal. Also there is the issue that if you manage somehow to fill the last row by going up down with your mouse wheel the last 2 items never appear.

I tried to play around with fraction or delay but nothing helped. Any idea how to make it so a new row of news cards appears as soon as maybe 20pixel of the card could be seen. Any suggestion on what I can do here? Here my code

{data && data.length && (
          <Fade
            direction="up"
            cascade={true}
            triggerOnce={true}
            damping={1}
            duration={200}
            fraction={0.2}
          >
            {topNews.map((post, index) => (
              <NewsComponent key={post.id} post={post} />
            ))}
          </Fade>
        )}
```
@ivanjeremic ivanjeremic changed the title Issue solving appear at the right point. Issue Items do not appear at the right moment when going down. Dec 8, 2020
@ivanjeremic ivanjeremic changed the title Issue Items do not appear at the right moment when going down. Issue Items do not appear at the right moment when scrolling down. Dec 8, 2020
@morellodev morellodev added the invalid This doesn't seem right label Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants