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
react div’s style prop couldn’t be an array, but react-native-web TouchableHighlight modifies styles and makes it as array (via cloneElement) - github.
App crashes in such case on web.
Expected behavior
TouchableHighlight could be used with div and other elements as children on web
Steps to reproduce
could be verified with simple example component - TouchableHighlight + div as a child
TouchableHighlight with react-native-web View component is ok.
Is there an existing issue for this?
Describe the issue
react div’s style prop couldn’t be an array, but react-native-web TouchableHighlight modifies styles and makes it as array (via cloneElement) - github.
App crashes in such case on web.
Expected behavior
TouchableHighlight could be used with div and other elements as children on web
Steps to reproduce
could be verified with simple example component - TouchableHighlight + div as a child
TouchableHighlight with react-native-web View component is ok.
Test case
https://codesandbox.io/s/react-native-web-forked-3w4lg9?file=/src/App.js
Additional comments
No response
The text was updated successfully, but these errors were encountered: