diff --git a/Libraries/Renderer/src/renderers/native/ReactNativeFiber.js b/Libraries/Renderer/src/renderers/native/ReactNativeFiber.js index 783ae9139..014b4dfa8 100644 --- a/Libraries/Renderer/src/renderers/native/ReactNativeFiber.js +++ b/Libraries/Renderer/src/renderers/native/ReactNativeFiber.js @@ -382,7 +382,10 @@ const ReactNative = { // See NativeMethodsMixin#setNativeProps for more info on why this is done. findNodeHandle(componentOrHandle: any): ?number { const instance: any = findNodeHandle(componentOrHandle); - return instance ? instance._nativeTag : null; + if (instance == null || typeof instance === 'number') { + return instance; + } + return instance._nativeTag; }, render(element: Element, containerTag: any, callback: ?Function) {