Chore: upgrade to Angular v21 (#11746)

This commit is contained in:
shamoon
2026-01-09 20:08:50 -08:00
committed by GitHub
parent b748362509
commit 402ed6b9e7
7 changed files with 2014 additions and 2849 deletions

View File

@@ -150,12 +150,11 @@ export class FileDropComponent {
this.onDragLeave(event, true)
}
@HostListener('window:blur', ['$event']) public onWindowBlur() {
@HostListener('window:blur') public onWindowBlur() {
if (this.fileIsOver) this.onDragLeave(null)
}
@HostListener('document:visibilitychange', ['$event'])
public onVisibilityChange() {
@HostListener('document:visibilitychange') public onVisibilityChange() {
if (document.hidden && this.fileIsOver) this.onDragLeave(null)
}
}