File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -581,17 +581,11 @@ function createRenderer<TCanvas>(roots: Map<TCanvas, Root>) {
581581 return parentHostContext
582582 } ,
583583 createTextInstance ( ) { } ,
584- finalizeInitialChildren ( instance : Instance ) {
585- // https://github.com/facebook/react/issues/20271
586- // Returning true will trigger commitMount
587- //return !!instance.__r3f.handlers
584+ finalizeInitialChildren ( ) {
588585 return false
589586 } ,
590- commitMount ( instance : Instance ) {
591- // https://github.com/facebook/react/issues/20271
592- // This will make sure events are only added once to the central container
593- //if (instance.raycast && instance.__r3f.handlers)
594- // instance.__r3f.root.getState().internal.interaction.push(instance as unknown as THREE.Object3D)
587+ commitMount ( ) {
588+ // noop
595589 } ,
596590 shouldDeprioritizeSubtree ( ) {
597591 return false
You can’t perform that action at this time.
0 commit comments