Skip to content

Allow useHotkey without the HotkeyProvider dialog #7318

@zerovox

Description

@zerovox

Environment

  • Package version(s): 5.16.3

Feature request

In some situations we want to use the useHotkey hook to bind a hotkey, but don't want to have the ? dialog that the <HotkeyProviders /> provides.
The hook It functions without <HotkeyProviders />, but does log warnings.

Could we add a <HotkeysProvider dialog={false}/> or something similar, so that we can silence the warnings about the missing provider without opting in to the dialog?

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