vgapp 1.4.6 → 1.4.8

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.
@@ -195,8 +195,6 @@
195
195
  z-index: 4;
196
196
  overflow: hidden;
197
197
  margin-bottom: 0;
198
- border-top-left-radius: var(--vg-dynamic-table-wrap-border-radius);
199
- border-top-right-radius: var(--vg-dynamic-table-wrap-border-radius);
200
198
  background: var(--vg-dynamic-table-header-background);
201
199
  box-shadow: 0 1px 0 var(--vg-dynamic-table-cell-border-color);
202
200
  }
@@ -251,7 +249,7 @@
251
249
  background: linear-gradient(to left, var(--vg-dynamic-table-fixed-shadow-color), transparent);
252
250
  }
253
251
 
254
- .vgdt-table-viewport.table-sticky-scroll {
252
+ .vgdt-table-viewport.table-sticky-scroll {
255
253
  max-height: var(--vgdt-sticky-max-height, 0px);
256
254
  overflow: auto;
257
255
  }
@@ -140,17 +140,14 @@ class VGFilesBase extends BaseModule {
140
140
  Boolean(this._params?.replace) &&
141
141
  isSingle;
142
142
 
143
- if (shouldReplaceOnSingle) {
144
- this.clear(false);
145
- this.append(filesArray, true);
146
- this._revokeUrls();
147
- this._cleanupFakeInputs();
148
- this._cleanupErrors();
149
-
150
- this._files = this._filterFiles(filesArray);
151
- if (this._params.prepend) this._files.reverse();
152
-
153
- this.build();
143
+ if (shouldReplaceOnSingle) {
144
+ this.clear(false);
145
+ this.append(filesArray, true);
146
+ this._revokeUrls();
147
+ this._cleanupFakeInputs();
148
+ if (this._params.prepend) this._files.reverse();
149
+
150
+ this.build();
154
151
  return;
155
152
  }
156
153
 
@@ -161,9 +161,10 @@ class VGTooltip extends BaseModule {
161
161
  }
162
162
 
163
163
  hide() {
164
+ this._clearTimeouts();
165
+
164
166
  if (!this._isShown() || this._isHiding || !this._tooltip) return;
165
167
 
166
- this._clearTimeouts();
167
168
  this._disconnectTriggerObserver();
168
169
 
169
170
  this._hideTimeout = setTimeout(() => {