Vue-js-modal: maxWidth not working

Created on 6 Mar 2018  路  7Comments  路  Source: euvl/vue-js-modal

Hello there, great plugin! I'm trying to set the width of the modal to the 100% so in mobile it covers the full screen but i want to limit it for desktop usage at 800px. It麓s not working, the maxWidth prop is not being applied.

<modal width="100%" height="auto" maxWidth="800" :scrollable="true" :adaptative="true" name="new-timeline-event">

Am i missing something here? Thanks for reading!

question

Most helpful comment

The following still doesn't work for me:

<v-dialog width="90%" :max-width="500" :adaptive="true" />

All 7 comments

Hey, can you try :max-width="800" instead of maxWIdth="800" ?

Unfortunatly it is still not working, if set to width="100%" and :max-width="800" the modal will be 100% of the screen
<modal width="100%" height="auto" :max-width="800" :scrollable="true" :adaptative="true" name="new-timeline-event">

@conradolk Just want to point out that the adaptive property is misspelled in your example. It may not be a connection with your problem, just sayin'...

I was having the same problem and setting adaptive to true fixed it

Thanks both, setting adaptive to true fixed it! And thanks to euvl for the _awesome_ plugin.

馃憤 THanks!

The following still doesn't work for me:

<v-dialog width="90%" :max-width="500" :adaptive="true" />

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mbalandis picture mbalandis  路  4Comments

alex3683 picture alex3683  路  4Comments

vesper8 picture vesper8  路  3Comments

dland512 picture dland512  路  4Comments

a3020 picture a3020  路  5Comments