You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try to use ViroButton together with ViroFlexView inside ViroARScene, i have an error. But according to the documentation, ViroButton can be the child of ViroFlexView. So i'm now confused.
Hi @chaendler, this appears to be a bug on our end. For now as a workaround you can try using a ViroQuad in place of a button. I've added this to our backlog so we can fix it :)
Hi,
when i try to use ViroButton together with ViroFlexView inside ViroARScene, i have an error. But according to the documentation, ViroButton can be the child of ViroFlexView. So i'm now confused.
Code:
Error message:
`
ERROR: Only 2D components are allowed in a Flex View container: VRTNodeContainer
-[VRTFlexView insertReactSubview:atIndex:]
VRTFlexView.mm:140
RCTSetChildren
__38-[RCTUIManager setChildren:reactTags:]_block_invoke
__44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke
__44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke.536
__RCTExecuteOnMainQueue_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
`
Device: iphone 8
Dependencies:
"npm": "^5.8.0",
"react": "16.3.1",
"react-native": "0.55.1",
"react-viro": "2.6.0"
The text was updated successfully, but these errors were encountered: