mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface

Home Page:http://mstratman.github.com/jQuery-Smart-Wizard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page scrolls while going to next step

dani0332 opened this issue · comments

I am using SmartWizard v4.3.1 and when I click next or previous button the page scrolls up to the extent where the step element is at the top of the page. Below is a screenshot what I am getting,

I want the page to stay where it is, I know the scrolling is happening due to anchor having an id="" attribute. But I've tried everything but couldn't make it stop.
capture

How did you fix this? Having the same issue.

I don't exactly remember. But I think I didn't put tab-pane inside tab-content , which was causing the issue. You can also e.preventDefault() of jQuery