@memberjunction/ng-container-directives 0.9.120 → 0.9.121

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.
@@ -72,14 +72,18 @@ export class FillContainer {
72
72
  resizeElement() {
73
73
  const element = this.elementRef.nativeElement;
74
74
  try {
75
+ console.log('resizing element (1st check): ' + element.nodeName);
75
76
  if (element && element.style && !this.shouldSkipResize(element)) {
77
+ console.log('resizing element (2nd check): ' + element.nodeName);
76
78
  const parent = this.getParent(element);
77
79
  if (parent && !this.elementBelowHiddenTab(element)) {
80
+ console.log('resizing element (3nd check): ' + element.nodeName);
78
81
  let parentStyle = window.getComputedStyle(parent);
79
82
  if (parentStyle.visibility === 'hidden' || parentStyle.display === 'none') {
80
83
  LogStatus('skipping hidden element: ' + parent.nodeName);
81
84
  }
82
85
  else {
86
+ console.log('resizing element (4th check): ' + element.nodeName);
83
87
  const parentRect = parent.getBoundingClientRect();
84
88
  if (parent.nodeName === 'HTML') {
85
89
  parentRect.height = window.innerHeight;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-container-directives",
3
- "version": "0.9.120",
3
+ "version": "0.9.121",
4
4
  "description": "MemberJunction: Angular Container Directives - Fill Container for Auto-Resizing, and plain container just for element identification/binding",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",