survey-react-ui 1.12.34 → 1.12.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-react-ui",
3
- "version": "1.12.34",
3
+ "version": "1.12.36",
4
4
  "description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "typings": "./typings/src/entries/react-ui.d.ts",
23
23
  "peerDependencies": {
24
- "survey-core": "1.12.34",
24
+ "survey-core": "1.12.36",
25
25
  "react": "^16.5.0 || ^17.0.1 || ^18.2.0 || ^19.0.0",
26
26
  "react-dom": "^16.5.0 || ^17.0.1 || ^18.2.0 || ^19.0.0"
27
27
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.34
2
+ * surveyjs - Survey JavaScript library v1.12.36
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -110,7 +110,7 @@ return /******/ (function(modules) { // webpackBootstrap
110
110
  /***/ (function(module, exports, __webpack_require__) {
111
111
 
112
112
  /*!
113
- * surveyjs - Survey JavaScript library v1.12.34
113
+ * surveyjs - Survey JavaScript library v1.12.36
114
114
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
115
115
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
116
116
  */
@@ -1043,7 +1043,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
1043
1043
  /***/ (function(module, exports, __webpack_require__) {
1044
1044
 
1045
1045
  /*!
1046
- * surveyjs - Survey JavaScript library v1.12.34
1046
+ * surveyjs - Survey JavaScript library v1.12.36
1047
1047
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
1048
1048
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
1049
1049
  */
@@ -2790,7 +2790,7 @@ var row_SurveyRow = /** @class */ (function (_super) {
2790
2790
  }
2791
2791
  if (!!el && !this.row.isNeedRender) {
2792
2792
  var rowContainerDiv = el;
2793
- setTimeout(function () {
2793
+ this.lazyRenderingTimeout = setTimeout(function () {
2794
2794
  _this.row.startLazyRendering(rowContainerDiv);
2795
2795
  }, 10);
2796
2796
  }
@@ -2808,12 +2808,14 @@ var row_SurveyRow = /** @class */ (function (_super) {
2808
2808
  return true;
2809
2809
  };
2810
2810
  SurveyRow.prototype.stopLazyRendering = function () {
2811
+ clearTimeout(this.lazyRenderingTimeout);
2811
2812
  this.row.stopLazyRendering();
2812
2813
  this.row.isNeedRender = !this.row.isLazyRendering();
2813
2814
  };
2814
2815
  SurveyRow.prototype.componentWillUnmount = function () {
2816
+ var isCurrentStateElement = this.isCurrentStateElement(this.getStateElement());
2815
2817
  _super.prototype.componentWillUnmount.call(this);
2816
- if (this.isCurrentStateElement(this.getStateElement())) {
2818
+ if (isCurrentStateElement) {
2817
2819
  this.row.setRootElement(undefined);
2818
2820
  this.stopLazyRendering();
2819
2821
  }
@@ -11323,7 +11325,7 @@ ReactElementFactory.Instance.registerElement(external_root_Survey_commonjs2_surv
11323
11325
 
11324
11326
 
11325
11327
 
11326
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.34", "survey-react-ui");
11328
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.36", "survey-react-ui");
11327
11329
 
11328
11330
 
11329
11331
  /***/ }),