1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Fix performance on MacOS, Chrome & external screen (#2104)

* Fix performance on MacOS, Chrome & external screen

* Undo dev logging, tidy up
This commit is contained in:
Thomas Rittson
2021-11-02 08:15:49 +10:00
committed by GitHub
parent ad1653ec3f
commit bbbf152c62
2 changed files with 29 additions and 2 deletions

View File

@@ -367,3 +367,17 @@ select option {
background-color: darken(themed('inputBackgroundColor'), +1);
}
}
// Workaround for slow performance on external monitors on Chrome + MacOS
// See: https://bugs.chromium.org/p/chromium/issues/detail?id=971701#c64
@keyframes redraw {
0% {
opacity: 0.99;
}
100% {
opacity: 1;
}
}
html.force_redraw {
animation: redraw 1s linear infinite;
}