skrollr icon indicating copy to clipboard operation
skrollr copied to clipboard

Content disapears on mobile when using anchor links

Open nickels55 opened this issue 9 years ago • 1 comments

Here is my sample using only the skrollr.js: http://www.lsac.org/test/index.html

Click on the top anchor link using an iPad or iPhone. The page jumps to the anchor which is lower on the page. However, when the jump happens the content above the anchor seems to disappear. Click on the link on any iphone/ipad browser and you'll see how the user is unable to scroll back up to the top of the page above the anchor link. If I remove skrollr.js this problem goes away and the anchor link works fine where the user can scroll back up to the top of the page after clicking on the link: http://www.lsac.org/test/test2.html

Thanks for any help getting around this problem on mobile devices.

nickels55 avatar Jan 04 '16 16:01 nickels55

Solved by using skrollr-menu script found here: https://github.com/Prinzhorn/skrollr-menu

nickels55 avatar Jan 04 '16 17:01 nickels55