DynamicDialog: closeOnEscape
and dismissableMask
not working in combination with closable=false
#15401
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The
closeOnEscape
anddismissableMask
have no effect when used in combination withclosable=false
. This kind of makes sense. However theclosable
description reads "Adds a close icon to the header to hide the dialog." So it's only about the icon.In my case I didn't want to have the icon but still wanted the dialog to be closable.
Environment
Angular app.
Reproducer
https://stackblitz.com/edit/github-nus4rk-h6lv8i?file=src%2Fapp%2Fapp.component.ts
Angular version
17.1.3
PrimeNG version
17.15.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
21.7.1
Browser(s)
No response
Steps to reproduce the behavior
See reproducer
Expected behavior
The icon can be hidden and the dialog can still be closed.
The text was updated successfully, but these errors were encountered: