Close button not working when using presentContent on iOS SDK 19.2.x | Community
Skip to main content

We are having issues when using presentContent for presenting an article, the close button does not close the modal, though it can be closed with a drag down.

any workaround?

Hi ​@Luis Espinoza , Seán here from the Intercom engineering support team 👋 

Most likely the “X” tap is being intercepted by another view/gesture layered above Intercom; drag-to-dismiss still works because it’s handled by the system sheet.

What to check

  • Any overlays/extra windows (banners, HUDs, toasts) or elevated UIWindow.Level that could cover the nav bar area.
  • Global UITapGestureRecognizer/UIPanGestureRecognizer on the window or root view (especially with cancelsTouchesInView = true).
  • Transparent “cover” views in the safe-area/top region.
  • That you’re calling Intercom.presentContent(...) on the main UI thread.

What to try

  • Temporarily disable overlays/gestures and re-test.
  • If you’ve disabled swizzling or use custom windows, test with a plain window to isolate.
  • Update to the latest 19.2.1 build (which you may have already tried).

Failing these let me know and I will pass this to our direct support team for further investigation!


The issue comes from Intercom, not from anything above.

It happens when opening an article directly with Intercom.presentContent(IntercomContent.articleWithArticleId("132456"))

It’s working fine when opening Messenger with any other means or type of content (collection, composer,..)

intercom-react-native 9.1.2 / iOS SDK 19.2.1

 

Basic functionality like this should get better QA, this is the very least expected from a major brand and expensive product as Intercom.