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

Dropdown Component: Shortcuts don't work #1

Open
jdic opened this issue Nov 4, 2024 · 0 comments
Open

Dropdown Component: Shortcuts don't work #1

jdic opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
🐞 Bug Bug fixes.

Comments

@jdic
Copy link
Member

jdic commented Nov 4, 2024

The shortcuts do not work, when pressing the key combination specified in shortcut, there should be a focus on that element, but this does not happen.

// src/types/generic.ts
export type DropdownItem =
{
  label: string
  shortcut?: string
  icon?: JSX.Element
  action?: () => void
  href?: string
  id: string
}

Related

src/modules/common/components/dropdown-shortcut/index.tsx
@jdic jdic added this to meca-store Nov 4, 2024
@jdic jdic moved this to 📋 Backlog in meca-store Nov 4, 2024
@jdic jdic added the 🐞 Bug Bug fixes. label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Bug fixes.
Projects
Status: 📋 Backlog
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants