Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When writing in tags field the arrow keys moves to the next slide #77

Open
Sturlen opened this issue May 21, 2024 · 1 comment
Open

Comments

@Sturlen
Copy link

Sturlen commented May 21, 2024

Describe the bug
When writing in the tag field on a fullscreen image, pressing the left or right arrow will switch images, as well as move the cursor in the text field.

To Reproduce

  1. Open in image in fullscreen
  2. Click on the Tags field
  3. Press left or right arrow key

Expected behavior
I expected only the cursor to move, not the image.

Screenshots
When pressing the left and right arrow keys:

ScreenRecorderProject1.mp4

OneFolder version

v1.0.0

Desktop OS

Windows 11

Additional context
I believe this is the input field that is not stopping the propagation of the arrow keys.

<div className="input-wrapper">

The part that triggers the slide movements

const handleUserKeyPress = (event: KeyboardEvent) => {

@Antoine-lb
Copy link
Contributor

Thanks for all the details you provided, looks like you are right, most be a propagation issue, let me look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants