Skip to content

[BUG] Scoped Hotkeys docs section broken on Safari #1315

@caleb-reyes-op

Description

@caleb-reyes-op

Describe the bug
https://react-hotkeys-hook.vercel.app/docs/documentation/useHotkeys/scoping-hotkeys#global-hotkeys-and-scoped-components

I was scoping this out as an alternative to our in-house handling of keyboard shortcuts -- this section of the docs appears broken for Safari. It works in Chrome. See attached video:

output.mp4

UPDATE
Be advised that the other scoped demos work in Safari for the later examples on this page, so I'm guessing this is specific to button-related focus handling in safari.

To Reproduce
Steps to reproduce the behavior:

  1. Open Safari and Chrome
  2. Navigate to aforementioned section
  3. Interact with the scoped hotkeys section on both browsers
  4. See error

Expected behavior
Should work in both

Screenshots
See vid above

Desktop (please complete the following information):

  • OS: macOS Tahoe
  • Browser: chrome 144.0.7559.110 and safari 26.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions