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 carousel can not show properly while in a modal #4962

Closed
ngstyle opened this issue Mar 31, 2020 · 3 comments
Closed

The carousel can not show properly while in a modal #4962

ngstyle opened this issue Mar 31, 2020 · 3 comments

Comments

@ngstyle
Copy link

ngstyle commented Mar 31, 2020

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-ss5b1a?file=src%2Fapp%2Fnz.modal.custom.component.ts

Steps to reproduce

  1. Add a carousel in a modal
  2. The carousel does not display according to the set width and height

What is expected?

The carousel width and height showed as set.

What is actually happening?

The carousel does not display according to the set width and height while in a modal.

Environment Info
ng-zorro-antd 8.5.2
Browser Chrome 80.0.3987.149
@wzhudev
Copy link
Member

wzhudev commented Mar 31, 2020

(Do) Please search issues before opening a new one.

https://github.com/NG-ZORRO/ng-zorro-antd/issues?q=is%3Aissue+modal+carousel+is%3Aclosed

Actually it's a known issue and we're working on a solution called unstable container.

@ngstyle
Copy link
Author

ngstyle commented Apr 1, 2020

(Do) Please search issues before opening a new one.

https://github.com/NG-ZORRO/ng-zorro-antd/issues?q=is%3Aissue+modal+carousel+is%3Aclosed

Actually it's a known issue and we're working on a solution called unstable container.

Sorry for the duplicate issue.

@hsuanxyz
Copy link
Member

hsuanxyz commented Apr 1, 2020

fixed via #4702

@hsuanxyz hsuanxyz closed this as completed Apr 1, 2020
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

3 participants