[v4] Modal Scrolling?

I haven’t been able to see how to do any kind of scrolling on Modal? I have content that works great on a phone because it allows you to scroll down, however I can’t seem to be able to scroll using a Desktop Browser, any suggestions? Below is a sample, however there’s simply a bunch of stuff that is between the IonModal, I thought it would auto-scroll naturally?


        <IonModal isOpen={showModal} backdropDismiss={false}>
        </IonModal>

Well I figured it out, I had to wrap everything that was in the the modal in a content so

<IonModal>
  <IonContent>
    All my fun content!
  </IonContent>
</IonModal>
4 Likes