Revert "[ACS-4051] Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click (#8119)" (#8159)

This reverts commit 067d4e9369.
This commit is contained in:
Denys Vuika
2023-01-16 15:57:47 +00:00
committed by GitHub
parent cc33c5dec1
commit 32e4564e14
2 changed files with 0 additions and 23 deletions

View File

@@ -46,12 +46,6 @@ export class ClipboardDirective {
event.stopPropagation();
this.copyToClipboard();
}
@HostListener('window:keydown.enter', ['$event'])
handleKeyDown(event: KeyboardEvent){
event.preventDefault();
event.stopPropagation();
this.copyToClipboard();
}
@HostListener('mouseenter')
showTooltip() {