From f00521214c642010fc20e9635cb4e90fa1dcfa69 Mon Sep 17 00:00:00 2001 From: Chrystian Huot Date: Mon, 13 Jul 2020 13:16:06 -0400 Subject: [PATCH] Fix user input not focusing on safari --- .../components/rdio-scanner/rdio-scanner.component.scss | 7 +------ .../app/components/rdio-scanner/rdio-scanner.component.ts | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/client/src/app/components/rdio-scanner/rdio-scanner.component.scss b/client/src/app/components/rdio-scanner/rdio-scanner.component.scss index 7d6f5e6..1190fd0 100644 --- a/client/src/app/components/rdio-scanner/rdio-scanner.component.scss +++ b/client/src/app/components/rdio-scanner/rdio-scanner.component.scss @@ -8,10 +8,6 @@ justify-content: center; } -* { - user-select: none; -} - :host, .mat-sidenav, .mat-sidenav-container { @@ -49,7 +45,6 @@ position: relative; text-overflow: ellipsis; text-shadow: 0 0 4px rgb(0, 0, 0); - user-select: none; white-space: nowrap; width: auto; @@ -287,6 +282,7 @@ .rdio-search, .rdio-select { min-width: 370px; + user-select: none; } .rdio-main { @@ -336,7 +332,6 @@ } .rdio-search-results { - .mat-cell, .mat-header-cell { &:first-of-type { diff --git a/client/src/app/components/rdio-scanner/rdio-scanner.component.ts b/client/src/app/components/rdio-scanner/rdio-scanner.component.ts index 9088ca8..4e3fc6c 100644 --- a/client/src/app/components/rdio-scanner/rdio-scanner.component.ts +++ b/client/src/app/components/rdio-scanner/rdio-scanner.component.ts @@ -785,7 +785,7 @@ export class AppRdioScannerComponent implements AfterViewInit, OnDestroy { this.clockRefresh = setTimeout(() => this.syncClock(), (60 - this.clock.getSeconds()) * 1000); this.ngDetectChanges(); - }; + } private transformCall(call: RdioScannerCall): RdioScannerCall { if (call && Array.isArray(this.config && this.config.systems)) {