@momentum-design/components 0.134.6 → 0.134.7
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.
|
@@ -18,8 +18,7 @@ export const OverflowMixin = (superClass) => {
|
|
|
18
18
|
return el.scrollWidth > el.clientWidth;
|
|
19
19
|
}
|
|
20
20
|
isHeightOverflowing() {
|
|
21
|
-
|
|
22
|
-
return el.scrollHeight > el.clientHeight;
|
|
21
|
+
return this.scrollHeight > this.clientHeight;
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
24
|
// Cast return type to your mixin's interface intersected with the superClass type
|