Confirmation dialog when leaving page while using app

JeroenCloudCTI
Contributor

I'm developing an app using the calling SDK, but am having some issues with unwanted confirmation dialogs poping up while navigating HubSpot while using the app.

 

JeroenCloudCTI_0-1762778916110.png

 

I've narrowed the cause down to this sequence of steps:

- The app is opened

- The app calls the SDK's incomingCall() method

- The app is minimized

- The user attempts to close/redirect/reload the tab

Not minimizing the app or using the SDK's callEnded method prevents the popup.

 

What can I do to prevent the popup from happening? I don't add any onbeforeunload event listeners in my app so I'm guessing it's done by HubSpot, what are its conditions for triggering exactly?

0 Upvotes
1 Reply 1
STierney
Community Manager
Community Manager

Hey @JeroenCloudCTI - thanks for posting in the Community!

I'd like to tag in some experts to see what insight they may have for us! @Phil_Vallender, @Mike_Eastwood, and @alyssamwilie - any thoughts here?

Shane, Senior Community Moderator





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes