mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(web): cannot use shift-select (#3343)
This commit is contained in:
parent
9f7bf36786
commit
593489a14c
@ -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…
x
Reference in New Issue
Block a user