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

feat(react-keytips): add support for shortcuts #268

Closed

Conversation

mainframev
Copy link
Contributor

@mainframev mainframev commented Dec 10, 2024

This feature aims to provide support for previously available 'persisted' keytips in v8. In v8, the OverflowSet was responsible for registering persisted keytips inside.

Current implementation offers useMenuShortcut hook, which in addition to created useKeytipRefs inside of each menu, will create aliases under the root, which can be invoked from the top level. It will open all sub menus and reach the targeted keytip and execute it's callback.

The documentation and tests will be added as follow up to this PR.

@mainframev mainframev requested a review from a team as a code owner December 10, 2024 18:18
@mainframev mainframev force-pushed the feat/keytips-support-for-persisted branch from 1e9b3c5 to d9ac622 Compare December 10, 2024 18:25
@mainframev mainframev self-assigned this Dec 10, 2024
@mainframev mainframev marked this pull request as draft December 10, 2024 20:33
@mainframev mainframev closed this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant