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
Post a Comment