This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
Impossible to disable fade in modal #1007
Closed
Description
It's not possible to make modals appear instantaneously (except perhaps by redefining the 'fade' rules project-wide, which I don't want to do).
I read somewhere that what's needed is to remove the 'fade' class from the modal div.
Here's how this could be done: Allow the 'windowClass' property of the modal options object to be an object (e.g. { fade: false }
), and (if object) merge it with the default { modal: true, fade: true }
and put it in the modal div's ng-class
.
What do you think?