daisyui
daisyui copied to clipboard
Add pointer-events-none by default to .collapse:focus class
To close a collapse container you need to click outside of it to remove the focus. Imho closing it should also be possible with a second click inside the container. This is at the moment only possible by using the collapse with a checkbox.
As a workaround you can add this to your custom .css file:
.collapse:focus {
@apply pointer-events-none;
}
Can we perhaps have this feature implemented by default for non-checkbox collapses?