javascript - Close materialize modal from center to bottom -


i'm working on application materialize. i'm trying open , close modal "linear transition".
mean, open top center and, close center bottom.

at moment succeed in first case (open top center) didn't find way close want.

i tried reach goal through css, used class:

.modal-slide-show {     transform: none !important; } 

i have searched lot, didn't find way custom close of modal.
here, can find fiddle in order check simple example

edit
i'm using materialize 0.97.7

if edit plugin file find code , change endingtop 14%.

var methods = {     init : function(options) {       var defaults = {         opacity: 0.5,         induration: 350,         outduration: 250,         ready: undefined,         complete: undefined,         dismissible: true,         startingtop: '4%',         endingtop: '14%'       }; 

this should apply change throughout website , modals should close bottom , open top , no worries method closed.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -