We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8492e25 commit 3f93a89Copy full SHA for 3f93a89
dom-renderables/DOMElement.js
@@ -75,8 +75,6 @@ function DOMElement(node, options) {
75
this._id = node ? node.addComponent(this) : null;
76
this._node = node;
77
78
- this.onSizeModeChange.apply(this, node.getSizeMode());
79
-
80
this._callbacks = new CallbackStore();
81
82
this.setProperty('display', node.isShown() ? 'block' : 'none');
@@ -172,6 +170,7 @@ DOMElement.prototype.onMount = function onMount(node, id) {
172
170
this._id = id;
173
171
this._UIEvents = node.getUIEvents().slice(0);
174
TransformSystem.makeBreakPointAt(node.getLocation());
+ this.onSizeModeChange.apply(this, node.getSizeMode());
175
this.draw();
176
this.setAttribute('data-fa-path', node.getLocation());
177
};
0 commit comments