Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smooth scrolling conflict with Bootstrap tabs. #136

Open
kannansuresh opened this issue Jul 29, 2020 · 0 comments
Open

Smooth scrolling conflict with Bootstrap tabs. #136

kannansuresh opened this issue Jul 29, 2020 · 0 comments

Comments

@kannansuresh
Copy link

Tabs functionality of Bootstrap won't work with the theme because of the smooth scrolling functionality in mediumish.js conflicts with it.

Below is the piece of code from mediumish.js that causes the issue.

$('a[href*=\\#]:not([href=\\#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
    smoothScrollTo($(this.hash));
    return false;
}
});
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

No branches or pull requests

1 participant