@angular/cdk 19.1.4 → 19.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -903,6 +903,9 @@ class StickyStyler {
903
903
  * sticky position if there are no more directions.
904
904
  */
905
905
  _removeStickyStyle(element, stickyDirections) {
906
+ if (!element.classList.contains(this._stickCellCss)) {
907
+ return;
908
+ }
906
909
  for (const dir of stickyDirections) {
907
910
  element.style[dir] = '';
908
911
  element.classList.remove(this._borderCellCss[dir]);