These docs are for v0.0.1. Click to read the latest docs for v1.0.61.

Discussions

Ask a Question
Back to All

AXP Chat SDK and Mobile Devices

When initiating a chat with a mobile device the chat container shifts to the right and has to be manually resized with each message. There appears to be "responsive" coding in place, but I cannot locate how it's called. There's conditional screen size settings of lg, md and sm in App.js:

const appContainerSize = ({size})=>{
if(size == "lg"){
return csswidth:400px;height:${ensureHeightDontOverflowWindow(784)}px;;
}
if(size == "md"){
return csswidth:350px;height:${ensureHeightDontOverflowWindow(686)}px;;
}
if(size == "sm"){
return csswidth:350px;height:${ensureHeightDontOverflowWindow(588)}px;;

Has anyone been able to ascertain where this code is invoked?