2
0

🚑 Fix no scroll issue on mobile

This commit is contained in:
Baptiste Arnaud
2024-04-10 17:56:11 +02:00
parent ae2350e167
commit 8fe856aff3
4 changed files with 12 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@typebot.io/js", "name": "@typebot.io/js",
"version": "0.2.65", "version": "0.2.66",
"description": "Javascript library to display typebots on your website", "description": "Javascript library to display typebots on your website",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",

View File

@@ -311,17 +311,15 @@ const BotContent = (props: BotContentProps) => {
</Portal> </Portal>
</Show> </Show>
</Show> </Show>
<div class="flex w-full h-full justify-center items-center"> <ConversationContainer
<ConversationContainer context={props.context}
context={props.context} initialChatReply={props.initialChatReply}
initialChatReply={props.initialChatReply} onNewInputBlock={props.onNewInputBlock}
onNewInputBlock={props.onNewInputBlock} onAnswer={props.onAnswer}
onAnswer={props.onAnswer} onEnd={props.onEnd}
onEnd={props.onEnd} onNewLogs={props.onNewLogs}
onNewLogs={props.onNewLogs} onProgressUpdate={setProgressValue}
onProgressUpdate={setProgressValue} />
/>
</div>
<Show <Show
when={ when={
props.initialChatReply.typebot.settings.general?.isBrandingEnabled props.initialChatReply.typebot.settings.general?.isBrandingEnabled

View File

@@ -1,6 +1,6 @@
{ {
"name": "@typebot.io/nextjs", "name": "@typebot.io/nextjs",
"version": "0.2.65", "version": "0.2.66",
"description": "Convenient library to display typebots on your Next.js website", "description": "Convenient library to display typebots on your Next.js website",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@typebot.io/react", "name": "@typebot.io/react",
"version": "0.2.65", "version": "0.2.66",
"description": "Convenient library to display typebots on your React app", "description": "Convenient library to display typebots on your React app",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",