Web: Files: fixed ReactVirtualized__List tabindex
This commit is contained in:
parent
03d929be63
commit
f408b2b1d8
@ -56,6 +56,14 @@ class HotkeyStore {
|
||||
};
|
||||
|
||||
activateHotkeys = (e) => {
|
||||
const infiniteLoaderComponent = document.getElementsByClassName(
|
||||
"ReactVirtualized__List"
|
||||
)[0];
|
||||
|
||||
if (infiniteLoaderComponent) {
|
||||
infiniteLoaderComponent.tabIndex = -1;
|
||||
}
|
||||
|
||||
if (
|
||||
this.dialogsStore.someDialogIsOpen ||
|
||||
(e.target?.tagName === "INPUT" && e.target.type !== "checkbox") ||
|
||||
|
Loading…
Reference in New Issue
Block a user