mirror of
https://github.com/immich-app/immich.git
synced 2025-02-11 01:18:24 -05: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;
|
||||
}
|
||||
|
||||
if (e.shiftKey && e.key !== '/') {
|
||||
if (e.key == 'Shift') {
|
||||
e.preventDefault();
|
||||
shiftKeyIsDown = true;
|
||||
}
|
||||
};
|
||||
|
||||
const onKeyUp = (e: KeyboardEvent) => {
|
||||
if ($isSearchEnabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.shiftKey && e.key !== '/') {
|
||||
if (e.key == 'Shift') {
|
||||
e.preventDefault();
|
||||
shiftKeyIsDown = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue