Skip to content

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

Merged
saadeghi merged 1 commit intosaadeghi:v5.6from
pdanpdan:fix/collapse-tooltip
Apr 19, 2026
Merged

feat(collapse): improve collapse to only apply overflow clip when closed#4423
saadeghi merged 1 commit intosaadeghi:v5.6from
pdanpdan:fix/collapse-tooltip

Conversation

@pdanpdan
Copy link
Copy Markdown
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
@saadeghi saadeghi changed the base branch from master to v5.6 April 19, 2026 00:05
@saadeghi saadeghi merged commit 6219876 into saadeghi:v5.6 Apr 19, 2026
@pdanpdan pdanpdan deleted the fix/collapse-tooltip branch April 19, 2026 00:06
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