2
0

🐛 (stream) Fix target attribute being trimmed on message stream

This commit is contained in:
Baptiste Arnaud
2023-12-13 14:47:06 +01:00
parent fbddddcfa0
commit bf626bb0a3
7 changed files with 14 additions and 9 deletions

View File

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

View File

@@ -26,7 +26,7 @@ export const Bubble = (props: Props) => {
) as BubbleElement
bubbleElement.current = newBubbleElement
injectPropsToElement(bubbleElement.current, props)
document.body.append(bubbleElement.current)
document.body.prepend(bubbleElement.current)
}, [])
useEffect(() => {