mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5007] Comments - textarea Escape event cannot be canceled (#5266)
* use keydown event * cancel event propagation * update tests
This commit is contained in:
committed by
Eugenio Romano
parent
f2cbd0cd9a
commit
79eb9365c8
@@ -165,7 +165,8 @@ export class CommentsComponent implements OnChanges {
|
||||
}
|
||||
}
|
||||
|
||||
clear(): void {
|
||||
clear(event: KeyboardEvent): void {
|
||||
event.stopPropagation();
|
||||
this.message = '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user