mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): cannot use shift-select (#3343)
This commit is contained in:
parent
9f7bf36786
commit
593489a14c
1 changed files with 3 additions and 2 deletions
|
|
@ -162,17 +162,18 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.shiftKey && e.key !== '/') {
|
if (e.key == 'Shift') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
shiftKeyIsDown = true;
|
shiftKeyIsDown = true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const onKeyUp = (e: KeyboardEvent) => {
|
const onKeyUp = (e: KeyboardEvent) => {
|
||||||
if ($isSearchEnabled) {
|
if ($isSearchEnabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.shiftKey && e.key !== '/') {
|
if (e.key == 'Shift') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
shiftKeyIsDown = false;
|
shiftKeyIsDown = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue