bh
bh copied to clipboard
The modal helper now accepts an animated: option
At the moment, the modal template adds the fade
class to every modal, which is responsible for animating the opening/closing of a modal. If you want this animation gone, you currently have to override bootstrap's fade
css, or use some other workaround.
To fix that, this PR adds an animated:
modal option. If animated: false
is passed, the fade
class will not be added, which is what bootstrap suggests.
Please let me know what you think.