Please use the following template to submit your issue. Following this template will allow us to quickly investigate and help you with your issue. Please be aware that issues which do not conform to this template may be closed.
For feature requests please contact us at team@intercom.io
Version info
intercom-rails version: 1.0.1
Rails version: 7.1.3
Expected behavior
You can use the default CSS activator (class == "Intercom") with config.inbox.style = :custom as described in the documents without issue.
Actual behavior
If you do this and navigate between pages rapidly, you'll get the following error:
VM124 {app_id}:1 Uncaught TypeError: window[g] is not a function
window[g] seems to be the DOM element with id == 'Intercom'
Please use the following template to submit your issue. Following this template will allow us to quickly investigate and help you with your issue. Please be aware that issues which do not conform to this template may be closed.
For feature requests please contact us at team@intercom.io
Version info
Expected behavior
You can use the default CSS activator (class == "Intercom") with
config.inbox.style = :custom
as described in the documents without issue.Actual behavior
If you do this and navigate between pages rapidly, you'll get the following error:
window[g]
seems to be the DOM element withid == 'Intercom'
Steps to reproduce
id="Intercom"
Logs