chatwoot / chatwoot-react-native-widget

React Native widget for Chatwoot
https://www.npmjs.com/package/@chatwoot/react-native-widget
MIT License
36 stars 40 forks source link

Chatwoot buttons in webview don't respond to touches #15

Closed 1t5j0y closed 2 years ago

1t5j0y commented 2 years ago

react-native: v61.5 react-native-webview: v11.13.0

Integrated the chatwoot widget in my react native android app and it works fine while testing in the emulator while using the mouse to click in the widget.

Generated an apk to test on a real device and the buttons in the widget do not respond to touches. Connected a mouse to my real device and the chat widget buttons were responding to the click events.

Video illustrating the issue.

1t5j0y commented 2 years ago

Spent some time trying to debug this today and it appears that the swipeDirection prop of the parent modal seems to be interfering with the tap/touch events.