Skip to content

feat(collapse): improve collapse to only apply overflow clip when closed#4423

Open
pdanpdan wants to merge 1 commit intosaadeghi:masterfrom
pdanpdan:fix/collapse-tooltip
Open

feat(collapse): improve collapse to only apply overflow clip when closed#4423
pdanpdan wants to merge 1 commit intosaadeghi:masterfrom
pdanpdan:fix/collapse-tooltip

Conversation

@pdanpdan
Copy link
Contributor

@pdanpdan pdanpdan commented Feb 4, 2026

  • apply overflow clip instead of hidden (avoids focusing hidden elements in content)
  • it is only applied to content, not the whole collapse
  • it is only applied when closed

Also fixed the case where the collapse-title is a label for the checkbox (in this case do not raise z-index for the checkbox

example: https://play.tailwindcss.com/I2knEnK0ZO

close #4419

- apply overflow clip instead of hidden (avoids focusing hidden elements in content)
- it is only applied to content, not the whole collapse
- it is only applied when closed

Also fixed the case where the collapse-title is a label for the checkbox (in this case do not raise z-index for the checkbox

example: https://play.tailwindcss.com/I2knEnK0ZO

close saadeghi#4419
@saadeghi saadeghi added the 5.6 label Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Tooltip not showing in Collapse

2 participants