Skip to main content
  const onHide = () => console.log("Intercom did hide the Messenger");
return (
<IntercomProvider
appId={process.env.REACT_APP_INTERCOM_APP_ID || ""}
initializeDelay={1000}
onHide={onHide}
>
{children}
</IntercomProvider>
);


I have this line of code, when i press the X button on my intercom widget to close it, i do not get the onHide console.log. Anyone knows how to fix this?

Hi @Timothy Ong !

If you can’t find help with the Community members here, you might want to reach out to the developer of that react-use-intercom NPM package, here


Reply