APIs & Integrations

TJones80
Member

Setting `inlineEmbedSelector` causes widget status to always be `pending`

Hi,

I am working on a react application that is using the `chat widget sdk`.  When I try setting

```

window.hsConversationsSettings = {
   inlineEmbedSelector: "#custom-hubspot-container",
};
```
prior to loading the script in my index.html
, I am seeing that the window.HubspotConversations.widget.status() is always returning:
{loaded: false, pending: true}
When I remove window.hsConversationsSettings, the widget loads successfully but is not embedded where I would like it. 

Any help would really be appreciated.


0 Upvotes
1 Reply 1
dennisedson
Community Manager
Community Manager

Setting `inlineEmbedSelector` causes widget status to always be `pending`

@tjoyce happens to be a react wizard.  Maybe he can help out here 😀

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes