Skip to content

UseHotKeys: Have to press Ctrl every time when combined with other keys #250

Open
@haroonriaz-15

Description

@haroonriaz-15

Description

I am using useHotKeys with Ctrl and arrow keys combination, I was expecting to keep the Ctrl key pressed and then press arrowKeys, But currently I have to press Ctrl key again each time when I have to press the arrowKey.

Link to Reproduction

No response

Steps to reproduce

Implement a combination of Ctrl+ arrow Keys, and keep Ctrl pressed and then press arrow Keys one by one, you'll notice it will only work for first arrow key press for other arrow keys it considers arrow Key as individual press and Ctrl prop is false after first time, you have to release the Ctrl key and press again each time

Saas UI Version

2.8.2

Chakra UI Version

No response

Browser

Google Chrome

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions