skrollr icon indicating copy to clipboard operation
skrollr copied to clipboard

Fixed anchor target

Open illycz opened this issue 8 years ago • 1 comments

When I use as anchor target fixed positioned element, his position is calculated as static.

I want this effect: http://llidesign.co.uk/iconic-furniture/

Each slide may be longer than 100vh. I have fixed slides and each slide has previous as anchor target. I also need load slides dynamically within ajax. When fixed slide is change to static than scroll to data--1-top-top but is also trigerred when slide is fixed, so all content is loaded together...

I don't know if it's understandable :)

Sorry for english.

Patrik

illycz avatar Apr 08 '16 09:04 illycz

I prepare demo within anchor target: http://codepen.io/illycz/pen/qZpYEq Red smile never gets to data-top, but animation still go to rotate(360deg);

Maybe helps you understand my question.

Thanks a lot

illycz avatar Apr 08 '16 09:04 illycz