Skip to content

Commit

Permalink
fix z-index issue on frozen columns and resize handles
Browse files Browse the repository at this point in the history
  • Loading branch information
olifolkerd committed Aug 27, 2023
1 parent f89a330 commit 5518a8d
Show file tree
Hide file tree
Showing 26 changed files with 39 additions and 37 deletions.
4 changes: 2 additions & 2 deletions dist/css/tabulator.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_bootstrap3.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap3.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_bootstrap4.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap4.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_bootstrap5.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bootstrap5.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_bulma.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_bulma.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_materialize.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_materialize.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_midnight.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_midnight.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_modern.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_modern.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_semanticui.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_semanticui.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_simple.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_simple.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/css/tabulator_site.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/tabulator_site.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/js/tabulator_esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -12973,7 +12973,7 @@ class HtmlTableImport extends Module{
}

if(!col.field) {
col.field = header.textContent.trim().toLowerCase().replace(" ", "_");
col.field = header.textContent.trim().toLowerCase().replaceAll(" ", "_");
}

width = header.getAttribute("width");
Expand Down Expand Up @@ -17643,6 +17643,7 @@ class ResizeColumns extends Module{
if(cell.modules.resize && cell.modules.resize.handleEl){
if(frozenOffset){
cell.modules.resize.handleEl.style[column.modules.frozen.position] = frozenOffset;
cell.modules.resize.handleEl.style["z-index"] = 11;
}

cell.element.after(cell.modules.resize.handleEl);
Expand Down
2 changes: 1 addition & 1 deletion dist/js/tabulator_esm.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/js/modules/ResizeColumns/ResizeColumns.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class ResizeColumns extends Module{
if(cell.modules.resize && cell.modules.resize.handleEl){
if(frozenOffset){
cell.modules.resize.handleEl.style[column.modules.frozen.position] = frozenOffset;
cell.modules.resize.handleEl.style["z-index"] = 11;
}

cell.element.after(cell.modules.resize.handleEl);
Expand Down
4 changes: 2 additions & 2 deletions src/scss/tabulator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ $footerActiveColor:#d00 !default; //footer bottom active text color

// background-color: inherit;

z-index: 10;
z-index: 11;

&.tabulator-frozen-left{
border-right:2px solid $rowBorderColor;
Expand Down Expand Up @@ -772,7 +772,7 @@ $footerActiveColor:#d00 !default; //footer bottom active text color

background-color: inherit;

z-index: 10;
z-index: 11;

&.tabulator-frozen-left{
border-right:2px solid $rowBorderColor;
Expand Down

0 comments on commit 5518a8d

Please sign in to comment.