What component (if applicable)
Describe the bug
If a DropdownLabel or DropdownDescription is used in an DropdownItem it will capture all click events and make "selecting" the element impossible. If it is an item with a ~short text it's possible to select it by clicking on the right side beyond the boundaries of the DropdownLabel or DropdownDescription. There's a small active area on the top and bottom edge, too.
To Reproduce
Steps to reproduce the behavior:
- Go to https://catalyst.tailwindui.com/docs/dropdown#with-descriptions
- Try to select Open, Rename or Delete by clicking on the label or description -> won't work
- Click on Rename or Delete on the right edge -> Dropdown closes
Expected behavior
It should be possible to click on a DropdownLabel or DropdownDescription and trigger an onClick on DropdownItem
Screenshots
Browser/Device (if applicable)
- OS: Arch Linux
- Browser chromium 145.0.7632.75, firefox 147.0.3
What component (if applicable)
Describe the bug
If a DropdownLabel or DropdownDescription is used in an DropdownItem it will capture all
clickevents and make "selecting" the element impossible. If it is an item with a ~short text it's possible to select it by clicking on the right side beyond the boundaries of the DropdownLabel or DropdownDescription. There's a small active area on the top and bottom edge, too.To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be possible to click on a DropdownLabel or DropdownDescription and trigger an
onClickon DropdownItemScreenshots
Browser/Device (if applicable)