Materialize: Full screen modal

Created on 16 Jul 2016  路  8Comments  路  Source: Dogfalo/materialize

Please add Full screen modal :blush:

Modal enhancement

Most helpful comment

Hi boys, my implementation, i and the my team uses this solution:

 .modal.full {                                                                                                      
      width: 100vw; 
      max-height: 100vh; 
      height: 100vh
  }  

the .full class is add in all project.

All 8 comments

can you add some more details. Maybe some references to material design examples. If you want to request a feature giving as much detail as possible helps the process.

appending effect more like this
full screen modal example
more specific example (Last one)

Like this?

<style>
.modal.open{
    width: 100%;
    max-height: 100%;
    height: 100%;
    top: 0 !important;
}
</style>

@chi-bd .model-content also need to be tweaked, to move modal-action on bottom

.modal-content {
  height: calc(100% - 56px);
}

And still, the close animation works bad. See http://codepen.io/kmmbvnr/pen/pbVZdJ

@wupadach 's second example is epic.

Hi boys, my implementation, i and the my team uses this solution:

 .modal.full {                                                                                                      
      width: 100vw; 
      max-height: 100vh; 
      height: 100vh
  }  

the .full class is add in all project.

Isn't 100vh a bit too high?

@wouerner answer is perfect, but I had to add a top: 0 !important; to make it work properly.

Dont you ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ReiiYuki picture ReiiYuki  路  3Comments

PhillippOhlandt picture PhillippOhlandt  路  3Comments

SoproniOli713 picture SoproniOli713  路  3Comments

hartwork picture hartwork  路  3Comments

MickaelH974 picture MickaelH974  路  3Comments