couds / react-bulma-components

React components for Bulma framework
MIT License
1.2k stars 126 forks source link

Same id is used in every dropdown-menu element #373

Closed smeknamn closed 2 years ago

smeknamn commented 2 years ago

Describe the bug When using the dropdown menu it adds a generic id. If an id is needed this must be unique! `<Dropdown className="status-dropdown active" closeOnSelect={true} label="Active"

`

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Versions

Additional context Add any other context about the problem here.

smeknamn commented 2 years ago

The only workaround I have found so far is to skip the component and use the original Bulma markup instead. And match the aria-controls with the menus id.

kennethnym commented 2 years ago

Hi @smeknamn, sorry for the inactivity. I will try to look into this next week!