APIs & Integrations

LN1
Member

Closing and reopening page containing widget results in not being able to load (Blazor)

When I first load the page containing the div where hubspot will go I can do window.HubSpotConversations.widget.load() and it loads fine, however, if I close the page (a popup in this case), on reopening window.HubSpotConversations.widget.load() does nothing.  

This is done within a blazor application so the div is rerendered when the popup is opened.

It's also worth noting that some times after we call window.HubSpotConversations.widget.load(), window.HubSpotConversations becomes undefined so it's not like we could do a reset. I haven't been able to pinpoint why this is, it just happens some times.

0 Upvotes
2 Replies 2
tjoyce
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Closing and reopening page containing widget results in not being able to load (Blazor)

@LN1 - Not sure I can help but, I'll give it a try, can you please link me to the page you're referring to?

dennisedson
HubSpot Product Team
HubSpot Product Team

Closing and reopening page containing widget results in not being able to load (Blazor)

@tjoyce 

Is this up your alley?

0 Upvotes