Last active
April 6, 2020 18:07
-
-
Save johnnny-bravoo/13d77d21dda8ca07dcda4a3e5cb32997 to your computer and use it in GitHub Desktop.
Bootstrap4 Menu Smooth Scrolling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.dropdown').on('show.bs.dropdown', function(e){ | |
$(this).find('.dropdown-menu').first().stop(true, true).slideDown(300); | |
}); | |
$('.dropdown').on('hide.bs.dropdown', function(e){ | |
$(this).find('.dropdown-menu').first().stop(true, true).slideUp(300); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment