any nextjs/react developers out there embedding th...
# đź’»developers
m
any nextjs/react developers out there embedding the chatbot into their webapp?
Copy code
window.botpressWebChat.init({
        composerPlaceholder: "Type a message...",
        botConversationDescription: "Chat with Spark",
        botId: "...",
        hostUrl: "https://cdn.botpress.cloud/webchat/v1",
        messagingUrl: "https://messaging.botpress.cloud",
        clientId: "...",
        lazySocket: true,
        botName: "Spark",
        frontendVersion: "v1",
        themeColor: "#2563eb",
        stylesheet: "https://webchat-styler-css.botpress.app/prod/code/a6c56444-9b37-4ab5-ac39-3f942ffaf7dc/v21986/style.css",
        containerWidth: "100%25",
        layoutWidth: "100%25",
        "hideWidget": true,
        "disableAnimations": true,

    });
I can't get the chatbot to go full screen. When I remove the stylesheet, containerWidth, layoutWidth, hideWidget, and disableAnimation, the bot loads fine, just not full screen.