jQuery-One-Page-Nav
jQuery-One-Page-Nav copied to clipboard
Ipad hightlighting bug
Hello,
i use you plugin in an responsive website. On desktop it worked well, but on ipad is a bug. I have an active class which hightlight the current nav. When i click the first nav link it becomes the class active, when i now scroll down to section 2, nav link 1 and 2 are hightlighted.
sections html: section id="nav1">Lorem ipsum</section section id="nav2">Lorem ipsum</section eg
$('.menu').onePageNav({ currentClass: 'active', changeHash: false, scrollSpeed: 750, begin: function() { //Hack so you can click other menu items after the initial click $('body').append('
'); }, end: function() { $('#device-dummy').remove(); $('.toggle').click(); } });Can you please help me?
Do you have a link to your page?
http://apps.seurl.de/nordzucker-holding/html/
I'm having trouble recreating this problem.
Hi, i have the exact same problem on ios devices. The first nav link clicked keeps hightlighted on later scroll. Tested on ios 7 on ipad, and ios 6 on iphone, same behaviour.
Having the same problem here. http://cjtremlett.com/
I've seen this issue as well. After clicking on a menu item the active class gets "stuck" on the item you clicked. You may have to try it a few times but it's definitely reproducible.