Jump to content
Search Community

noahtrotman

Members
  • Posts

    25
  • Joined

  • Last visited

Community Answers

  1. noahtrotman's post in Rerender animation on viewport change (react) was marked as the answer   
    Hi @Rodrigo,
     
    I have a follow up question to this thread. I was able to re-engineer the slider so I doesn't cause a re-render and am now back to how the sandbox looks. I ended up layering copies of a css grid container and have offset each one to give the illusion that it is all part of the same grid. And so I am just animating divs. I have hooked it up with the Observer plugin as you mentioned. The question I have is, how would I create the scroll like effect from the website I linked above. I don't think this is Observer...
     
    It seems to be a scrollTrigger, based on the dev tool sources but I'm unsure if that's even possible given the viewport container is width:100vw and height:100vh and doesn't have a scroll bar associated with it. I can create a sandbox if needed. What I'm mainly looking for is direction as I'm unsure how this is being animated. 
  2. noahtrotman's post in Trouble distributing images responsively on a diagonal in react/nextjs was marked as the answer   
    So, I guess I was overthinking it and it came to my head just now when looking at this stack question.
    https://stackoverflow.com/questions/44036932/performance-of-css-flex-vs-manual-javascript-computation
     
    I've updated the sandbox for the change.
×
×
  • Create New...