We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00f8084 commit 51b759fCopy full SHA for 51b759f
src/cdk/table/sticky-styler.ts
@@ -184,7 +184,7 @@ export class StickyStyler {
184
// If the element no longer has any more sticky directions, remove sticky positioning and
185
// the sticky CSS class.
186
const hasDirection = STICKY_DIRECTIONS.some(dir =>
187
- stickyDirections.indexOf(dir) !== -1 && !!element.style[dir]);
+ stickyDirections.indexOf(dir) === -1 && !!element.style[dir]);
188
if (hasDirection) {
189
element.style.zIndex = this._getCalculatedZIndex(element);
190
} else {
0 commit comments