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

NzModalModule (nzDraggable): closing modal after dragging it makes it go back to initial position before close #8836

Open
alienard-wiremind opened this issue Oct 14, 2024 · 1 comment
Assignees

Comments

@alienard-wiremind
Copy link

Screencast.from.14-10-2024.11.07.55.webm

Reproduction link

https://stackblitz.com/edit/angular-haf5bj?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

Open a draggable modal, drag it to the edge of the screen, close it.

What is expected?

The modal closes.

What is actually happening?

The modal goes back to initial position then closes.

Environment Info
ng-zorro-antd 18.1.1
Browser Chrome

Currently working arround this by setting style display at ' none' before closing.

@ParsaArvanehPA
Copy link
Contributor

Hi @alienard-wiremind ,
Thank you for reporting this issue 👍
A fix is on it's way.

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