If you nest a TouchableWithoutFeedback inside a SmartScrollView, it will throw an invariant error: React.Children.only expected to receive a single React element child. It appears that it expects a single React element to be passed as children, but SmartScrollView is passing it an array.
If you nest a
TouchableWithoutFeedback
inside aSmartScrollView
, it will throw an invariant error:React.Children.only expected to receive a single React element child.
It appears that it expects a single React element to be passed as children, but SmartScrollView is passing it an array.This jsx snippet should reproduce the issue: