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

fix(modal): fixed the animation of closing the modal window (#6547) #6565

Conversation

rGillyazanov
Copy link

@rGillyazanov rGillyazanov commented Feb 26, 2023

PR Checklist

Before creating new PR, please take a look at checklist below to make sure that you've done everything that needs to be done before we can merge it.

  • read and followed the CONTRIBUTING.md guide.
  • built and tested the changes locally.
  • added/updated tests.
  • added/updated API documentation.
  • added/updated demos.

@MircoEnnova
Copy link

This also fixes #6591

@@ -141,7 +141,7 @@ export class BsModalService {
.provide({ provide: BsModalRef, useValue: bsModalRef })
.attach(ModalContainerComponent)
.to('body');
bsModalRef.hide = () => this.hide(bsModalRef.id);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems still have animate issue if user just called bsModalService?.hide(id); outside?

andy840119 added a commit to hardcoretech/ngx-bootstrap-bs3 that referenced this pull request Aug 14, 2024
@rGillyazanov rGillyazanov closed this by deleting the head repository Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants