Skip to content

Commit f17a552

Browse files
authored
Merge pull request #207 from SgLy/fix-placeholder-remover
fix(core): NativeNode placeholderHandler do not initialized properly
2 parents 9f9ffd8 + 412ad7b commit f17a552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glass-easel/src/native_node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export class NativeNode extends Element {
3939
const node = Object.create(NativeNode.prototype) as NativeNode
4040
node.is = tagName
4141
node.stylingName = stylingName ?? tagName
42-
node._$placeholderHandlerRemover = placeholderHandlerRemover
4342
const nodeTreeContext = owner.getBackendContext()
4443
let backendElement: GeneralBackendElement | null = null
4544
if (nodeTreeContext) {
@@ -55,6 +54,7 @@ export class NativeNode extends Element {
5554
if (ENV.DEV) performanceMeasureEnd()
5655
}
5756
node._$initialize(false, backendElement, owner, owner._$nodeTreeContext)
57+
node._$placeholderHandlerRemover = placeholderHandlerRemover
5858
const ownerHost = owner.getHostNode()
5959
const ownerComponentOptions = ownerHost.getComponentOptions()
6060
const styleScope = ownerComponentOptions.styleScope ?? StyleScopeManager.globalScope()

0 commit comments

Comments
 (0)