@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.
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +4 -3
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/table.mjs +3 -0
- package/fesm2022/table.mjs.map +1 -1
- package/package.json +7 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
package/fesm2022/table.mjs
CHANGED
|
@@ -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]);
|