Skip to content

Commit ce56c70

Browse files
Fixed sticky issue in admin grid
1 parent 4dac65b commit ce56c70

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid

1 file changed

+3
-1
lines changed

app/code/Magento/Ui/view/base/web/js/grid/toolbar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ define([
271271
*/
272272
show: function () {
273273
this.visible = true;
274-
274+
if($('.page-main-actions').length === 0) {
275+
this.$sticky.style.top = 0;
276+
}
275277
this.$sticky.style.display = '';
276278
this.$toolbar.style.visibility = 'hidden';
277279

0 commit comments

Comments
 (0)