Skip to content

Comments

Prevent the default action on controls#44

Open
chrishrmnn wants to merge 1 commit intovdw:masterfrom
chrishrmnn:patch-2
Open

Prevent the default action on controls#44
chrishrmnn wants to merge 1 commit intovdw:masterfrom
chrishrmnn:patch-2

Conversation

@chrishrmnn
Copy link
Contributor

If you have a <a> as controls (<a href="#tab_ID">), it will jump to the anchor on click. To avoid that, the solution is to add a preventDefault to the event on the controls click.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant