dbm 1.2.3 → 1.2.4

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": "dbm",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "scripts": {},
@@ -184,7 +184,7 @@ export default class CookieBar extends Dbm.react.BaseObject {
184
184
 
185
185
  _renderMainElement() {
186
186
 
187
- return this._createMainElement("div", {className: "cookie-bar-position no-pointer-events", ref: this.createRef("widthElement")},
187
+ return this._createMainElement("div", {className: "cookie-bar-position no-pointer-events", "data-non-static": 1, ref: this.createRef("widthElement")},
188
188
  React.createElement(Dbm.react.area.HasData, {"check": this.item.properties.inDom},
189
189
  React.createElement("div", {className: "overflow-hidden"},
190
190
  React.createElement(Dbm.react.BaseObject, {style: this.item.properties.style},
package/startup/Runner.js CHANGED
@@ -24,6 +24,13 @@ export default class Runner extends Dbm.core.BaseObject {
24
24
  //console.log("Runner::start");
25
25
  //console.log(this);
26
26
 
27
+ let preRenderContent = this._element.querySelector("#preRenderContent");
28
+
29
+ if(preRenderContent) {
30
+ preRenderContent.style["display"] = "none";
31
+ preRenderContent.parentElement.removeChild(preRenderContent);
32
+ }
33
+
27
34
  let root = document.createElement("div");
28
35
  this._element.appendChild(root);
29
36