vscroll 1.5.1 → 1.5.2

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * vscroll (https://github.com/dhilt/vscroll) FESM5
3
- * Version: 1.5.1 (2022-09-02T19:54:19.461Z)
3
+ * Version: 1.5.2 (2022-09-12T12:01:24.857Z)
4
4
  * Author: Denis Hilt
5
5
  * License: MIT
6
6
  */
@@ -343,7 +343,7 @@ var reactiveConfigStorage = new Map();
343
343
 
344
344
  var core = {
345
345
  name: 'vscroll',
346
- version: '1.5.1'
346
+ version: '1.5.2'
347
347
  };
348
348
 
349
349
  var instanceCount$1 = 0;
@@ -4771,7 +4771,7 @@ var Adapter = /** @class */ (function () {
4771
4771
  var wanted = _a.wanted, reactive = _a.reactive;
4772
4772
  return wanted && reactive === name;
4773
4773
  });
4774
- if (scalarWanted) {
4774
+ if (scalarWanted && _this.externalContext) {
4775
4775
  _this.wanted[scalarWanted.name] = true;
4776
4776
  }
4777
4777
  return _this.source[name];
@@ -4804,7 +4804,7 @@ var Adapter = /** @class */ (function () {
4804
4804
  }
4805
4805
  },
4806
4806
  get: function () {
4807
- if (wanted) {
4807
+ if (wanted && _this.externalContext) {
4808
4808
  _this.wanted[name] = true;
4809
4809
  }
4810
4810
  return _this.box[name];