File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/fiber/src/native Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ function CanvasImpl({
4545 onPointerMissed,
4646 onCreated,
4747 ref,
48+ pointerEvents,
4849 ...props
4950} : CanvasProps ) {
5051 // Create a known catalogue of Threejs-native elements
@@ -224,10 +225,11 @@ function CanvasImpl({
224225 } , [ canvas ] )
225226
226227 return (
227- < _View { ...props } ref = { viewRef } onLayout = { onLayout } style = { { flex : 1 , ...style } } { ... bind } >
228+ < _View { ...props } ref = { viewRef } onLayout = { onLayout } style = { { flex : 1 , ...style } } >
228229 { width > 0 && (
229230 < GLView msaaSamples = { antialias ? 4 : 0 } onContextCreate = { onContextCreate } style = { StyleSheet . absoluteFill } />
230231 ) }
232+ < _View style = { StyleSheet . absoluteFill } pointerEvents = { pointerEvents } { ...bind } />
231233 </ _View >
232234 )
233235}
You can’t perform that action at this time.
0 commit comments