Jump to content
Search Community

Rukasu

Premium
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Rukasu

  1. Hello @akapowl

     

    Apologies for the extremelly late reply, had to put this project on the back burner, but was finally able to fix it. 

     

    I ended up using a variation of Jacks approach.

    Quote

    You could simply ensure that your initial snapping position is actually SLIGHTLY past where the pinning occurs so that you avoid that whole "going from unpinned to pinned" tricky spot when you need to scroll elsewhere.

    But instead of tweaking the snapping, I added a cheeky 10px on the scrollTo position, which madee the jump disappear.

     

    Here's the fixed pen, for anyone who might have this problem in the future.

    See the Pen poPJypw by sueharaluke (@sueharaluke) on CodePen

     

    Thanks for the help !

    • Like 2
  2.  

    Hello @OSUblake and @GreenSock, nice to meet you !

    (Old posts of yours have always helped me, so I feel like I already know you guys already ! haha)

     

    3 hours ago, GreenSock said:

    I'm not seeing the issue.

     

    14 minutes ago, OSUblake said:

    It only happens on Windows

     

    I was actually able to reproduce it on Mac, but it's only noticeable if you really zoom in. (Pinched to max size with trackpad)

    Original on the left and translateZ added on the right:

     

    • Like 3
    • Thanks 1
×
×
  • Create New...