talkjs / talkjs-examples

TalkJS (https://talkjs.com) examples
115 stars 119 forks source link

React native, webview is zoomable #531

Closed amosaxe closed 4 months ago

amosaxe commented 4 months ago

We were able to successfully able to have working chat app with the example, but the screens are zoomable, that is a user can pinch to zoom.

We found something related to this in the documentation : https://talkjs.com/docs/Features/Supporting_Mobile_Devices/#fixing-the-viewport, but this is related to react and not react native. I was not able to find any thing else regarding this.

can someone help us to disable this zoom.

vickz84259 commented 4 months ago

Hey there, we have just released an update to the React Native and Expo SDKs (v0.9.0) which introduces the prop: disableZoom on the Chatbox and ConversationList components. You can set this prop to true to prevent your users from being able to zoom in.