fix comment
This commit is contained in:
parent
57b3e4461f
commit
431a53d8d8
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ function PhotoViewer(props: Iprops) {
|
|||
e: KeyboardEvent,
|
||||
direction: 'left' | 'right'
|
||||
) => {
|
||||
// ignore ctrl/cmd + a if the user is typing in a text field
|
||||
// ignore arrow clicks if the user is typing in a text field
|
||||
if (
|
||||
e.target instanceof HTMLInputElement ||
|
||||
e.target instanceof HTMLTextAreaElement
|
||||
|
|
Loading…
Add table
Reference in a new issue