wrong behavior of Dialog.maskClickListener #9282
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
primeng/src/app/components/dialog/dialog.ts
Line 339 in 5b95c0a
When you mousedown on the dialog and mouseup on the mask then the dialog is closed.
Example: I am trying to select the input text inside a dialog box and go slightly over the edge, then the dialog closes. It is necessary not only to set the listener on click, but to check whether the mousedown was made inside the dialog and if not, then block the event.
The text was updated successfully, but these errors were encountered: