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

Modal Transitions Class #6648

Open
ldgonzalez94 opened this issue Apr 15, 2024 · 0 comments
Open

Modal Transitions Class #6648

ldgonzalez94 opened this issue Apr 15, 2024 · 0 comments

Comments

@ldgonzalez94
Copy link

I'm using the ngx-bootstrap library, and I find it to be excellent for assigning the corresponding classes, resulting in a better and more dynamic webpage.

However, with modals, we're unable to select transitions like 'zoomIn', 'flip', or any other predefined animations.

In the code:

this.modalService.show(template, {
class: 'modal-dialog-centered',
initialState: {
}
});

The class is for the dialog container (div with class modal-dialog), but it would be sensible to access the class of the that you render, to which the default 'fade' or 'fade show' class is assigned.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant