Skip to content
#

ui-kit

Here are 514 public repositories matching this topic...

ant-design
DavidSichau
DavidSichau commented Jun 15, 2022

What problem does this feature solve?

I want to provide additional properties to a menu for example to make it better testable. This works but TS is reporting an error as the attribute 'data-test' does not exit in type ItemType.

const items: Array<ItemType> = [
    {
      key: 'exercises',
      // @ts-ignore
      'data-test': 'exercises',
      icon: <Fa icon={faTasks} fixed
help wanted good first issue
vuetify
Kasheftin
Kasheftin commented Apr 5, 2022

Environment

Vuetify Version: 2.6.4
Vue Version: 2.6.13
Browsers: Chrome 98.0.4758.102
OS: Linux x86_64

Steps to reproduce

  • Click on "Dropdown" button, the menu is shown under the button;
  • Click on "Toggle Menu" twice;
  • Click on "Dropdown" button, the menu is shown somewhere at the left;

Expected Behavior

It should work in a stable way. Menu should be

T: bug good first issue C: VMenu

Improve this page

Add a description, image, and links to the ui-kit topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ui-kit topic, visit your repo's landing page and select "manage topics."

Learn more