Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The modal helper now accepts an animated: option #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

knorrli
Copy link

@knorrli knorrli commented Nov 14, 2015

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.

@knorrli knorrli changed the title the modal helper now accepts an animated: option The modal helper now accepts an animated: option Nov 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant