Answered

[Bug] Intercom breaks on SPA while navigating back & forth via browser navigation buttons


To reproduce this bug I used this repository project https://github.com/intercom/example-single-page-app-install which contains bare minimum - react router & intercom. Follow the instructions to set it up in repository description.

 

Steps to reproduce:

  1. Open the project on new tab/page (without any navigation history)
  2. Click on About and then on Home links
  3. Open up the intercom and wait till it loads it's contents
  4. Go back in navigation history 2 times
  5. Go forth in navigation history 2 times
  6. Intercom breaks / becomes unresponsive and transparent

 

image 

There may be more ways of reproducing this bug, but this is the most consistent that I found.

icon

Best answer by Aparna 5 May 2022, 16:46

View original

3 replies

Hey @christian r​ !

 

Could you please share the console errors that you see when this issue happens?

Hey! I'm no longer able to reproduce this bug, seems like it got fixed 👍

Userlevel 3
Badge +2

Hi @christian r​ , great to hear that's fixed now! 👍 Could you please share what the problem was and how did you fix it so that other users with the same problem can get some great insights on that ?

Reply