diff --git a/assets/controllers/elements/datatables/parts_controller.js b/assets/controllers/elements/datatables/parts_controller.js
index 1fe11a20..c43fa276 100644
--- a/assets/controllers/elements/datatables/parts_controller.js
+++ b/assets/controllers/elements/datatables/parts_controller.js
@@ -45,8 +45,10 @@ export default class extends DatatablesController {
//Hide/Unhide panel with the selection tools
if (count > 0) {
selectPanel.classList.remove('d-none');
+ selectPanel.classList.add('sticky-select-bar');
} else {
selectPanel.classList.add('d-none');
+ selectPanel.classList.remove('sticky-select-bar');
}
//Update selection count text
diff --git a/assets/css/app/tables.css b/assets/css/app/tables.css
index ae892f50..aa72fff3 100644
--- a/assets/css/app/tables.css
+++ b/assets/css/app/tables.css
@@ -17,6 +17,16 @@
* along with this program. If not, see