Ionic React (Web): Button clicks not registering inside IonModal

Hello, I’m trialing out Ionic React components (web dev) and immediately encountering an issue, where IonButton(s) placed anywhere within the IonModal will not register clicks.

I tried a basic HTML button as a sanity check, same problem. Outside of the modal, it works fine. I tried inspecting but can’t see anything obvious (pointer-events are set to all) although all the z-indexing and shadow/portals aren’t making it easy :confused:

Here’s a minimal CodeSandbox demo: ionic-react-modal-bug - CodeSandbox

Sound familiar to anyone? Thanks a bunch!!

Got it figured out, courtesy of igaul on Discord. The app needs to have a root-level IonApp component!