Page scrolls while going to next step
dani0332 opened this issue · comments
Daniyal Nasir commented
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.
Dale French commented
How did you fix this? Having the same issue.
Daniyal Nasir commented
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