- Issue created by @G4MBINI
- First commit to issue fork.
- 🇺🇸United States mortona2k Seattle
There are different dropdown methods, which have various quirks. For example, details/summary won't close automatically without additional js.
The issue fork has code for operating with css focus, which seems to handle interactions.
There is also a property to enable hovering.
Menu component has a dropdown option, which is a similar style, but needs js if not using details/summary.
https://daisyui.com/components/menu/#collapsible-submenu-that-works-with...Configuration form for UI Patterns block:
- 🇺🇸United States mortona2k Seattle
Related ticket for adjusting navbar so dropdowns can be inline.
- 🇺🇸United States mortona2k Seattle
How should we handle default styles that are not component props?
IE the dropdown example has:
bg-base-100 rounded-box z-1 w-52 p-2 shadow-sm
background color, border style and shadow are styles, z-index, width, and padding are more layout, and z-index is pretty critical to get right within drupal's layouts.
- Assigned to G4MBINI