I'm new to using Material-UI. I want to use it's Fade component to fade in an element. I'm able to do that like this:
<Fade in timeout={3000}>
<Typography variant="h3" className={classes.h3} gutterBottom>About Me</Typography>
</Fade>
The Fade component works properly but executes immediately when the page is loaded. How can I delay the animation until the user scrolls down to where the element is on the page? I don't see any onScroll
property in the documentation. Does Material-UI provide a way to execute Fade on scroll or would I have to use another library in conjunction with Material-UI?