Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

How to show the whole content of IonContent in IonModal

$
0
0

Hi all

This is probably a very Ionic beginner question:

When I’m using an IonContent-block within an IonModel I would expect that the IonContent uses the whole height of the modal.

To test it I started a blank Vue.js project and used the sample code from https://ionicframework.com/docs/api/modal to create a modal. The only thing I changed was the content of the modal.

The modal component can be found on Github: https://github.com/chrigu/modaldemo/blob/b8b98962b21b332c118187cd227788cbfe8ef458/src/views/Modal.vue

The IonContent’s main-Element is always 56px in height and you can only see the content if you use the scrollbars.

The code can be found here: https://github.com/chrigu/modaldemo

How can you make the IonContent to expand so that it uses the height of the modal?

Thanks in advance!

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>