You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click (mouse down) and highlight any text inside of the modal then drag the cursor outside and release (mouse up)
What is expected?
The modal remains open with the content highlighted
What is actually happening?
The modal unexpectedly closes
Environment
Info
ng-zorro-antd
7.3.3
Browser
Chrome 73
A use case where this is especially annoying is when trying to select all of the text inside an input field in the modal since there's very little room to avoid closing the modal when releasing the mouse click.
This also appears to be a duplicate of issue 615 which was closed. Is it possible to revisit this? Thanks.
…RRO#3400)
* fix(module:modal): should not close when mousedown in the body
* chore(module:modal): use variable to save classname string
closeNG-ZORRO#3394
hsuanxyz
added a commit
to hsuanxyz/ng-zorro-antd
that referenced
this issue
Aug 5, 2020
…RRO#3400)
* fix(module:modal): should not close when mousedown in the body
* chore(module:modal): use variable to save classname string
closeNG-ZORRO#3394
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-xedkxr?file=src%2Fapp%2Fapp.component.html
Steps to reproduce
Click (mouse down) and highlight any text inside of the modal then drag the cursor outside and release (mouse up)
What is expected?
The modal remains open with the content highlighted
What is actually happening?
The modal unexpectedly closes
A use case where this is especially annoying is when trying to select all of the text inside an input field in the modal since there's very little room to avoid closing the modal when releasing the mouse click.
This also appears to be a duplicate of issue 615 which was closed. Is it possible to revisit this? Thanks.
#615
The text was updated successfully, but these errors were encountered: