Skip to content

Instantly share code, notes, and snippets.

@zarulizham
Created March 22, 2024 01:12
Show Gist options
  • Save zarulizham/9edb3a43406d8eda9b5a23e06b0fa6f6 to your computer and use it in GitHub Desktop.
Save zarulizham/9edb3a43406d8eda9b5a23e06b0fa6f6 to your computer and use it in GitHub Desktop.
Fix dropdown-menu under table-responsive class
$('.table-responsive').on('show.bs.dropdown', function () {
$('.table-responsive').css( "overflow", "inherit" );
});
$('.table-responsive').on('hide.bs.dropdown', function () {
$('.table-responsive').css( "overflow", "auto" );
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment