fix/tooltip-clipping #156

Merged
hodlbod merged 4 commits from nayan9617/flotilla:fix/tooltip-clipping into dev 2026-04-06 16:14:09 +00:00
Contributor

Summary

This PR fixes the clipped tooltip on the Room Detail modal issue by adjusting the actual DaisyUI tooltip placement used on the room permission chips in RoomDetail.svelte

Addressed #126

What changed

  • Updated the room permission buttons to use tooltip-right.
  • Kept the modal layout unchanged.
  • Targeted only the tooltip placement for the permission chips like Public, Restricted, Private, Hidden, and Closed.

Why

The tooltip was rendering into the clipped side of the modal, so the bubble appeared cut off instead of fully visible. Moving the tooltip to the right keeps it inside the modal bounds and avoids the clipping.

Validation

Rebuilt the app locally.
Verified the tooltip now renders fully visible in the Room Detail modal.

## Summary This PR fixes the clipped tooltip on the Room Detail modal issue by adjusting the actual DaisyUI tooltip placement used on the room permission chips in RoomDetail.svelte Addressed #126 ## What changed - Updated the room permission buttons to use tooltip-right. - Kept the modal layout unchanged. - Targeted only the tooltip placement for the permission chips like Public, Restricted, Private, Hidden, and Closed. ## Why The tooltip was rendering into the clipped side of the modal, so the bubble appeared cut off instead of fully visible. Moving the tooltip to the right keeps it inside the modal bounds and avoids the clipping. ## Validation Rebuilt the app locally. Verified the tooltip now renders fully visible in the Room Detail modal.
Owner

This doesn't really solve the problem, it just moves it around (see attached). I would ideally like tooltips to be able to overflow modals in any direction. I'm not sure this is possible with daisyui though. Maybe try using the Tooltip component.

This doesn't really solve the problem, it just moves it around (see attached). I would ideally like tooltips to be able to overflow modals in any direction. I'm not sure this is possible with daisyui though. Maybe try using the `Tooltip` component.
Author
Contributor

I’ll try switching to the Tooltip component and explore if it can handle overflow properly within modals.

I’ll try switching to the Tooltip component and explore if it can handle overflow properly within modals.
Author
Contributor

@hodlbod Implemented the requested change by replacing the Room Detail permission chip tooltips with the shared Tooltip component so they can overflow modal bounds instead of relying on DaisyUI tooltip positioning. I was not able to fully validate the non-public chip states locally because all rooms available to my account are currently Public-only, so I could only verify behaviour in the Public case.

@hodlbod Implemented the requested change by replacing the Room Detail permission chip tooltips with the shared Tooltip component so they can overflow modal bounds instead of relying on DaisyUI tooltip positioning. I was not able to fully validate the non-public chip states locally because all rooms available to my account are currently Public-only, so I could only verify behaviour in the Public case.
hodlbod added 4 commits 2026-04-06 16:14:01 +00:00
hodlbod force-pushed fix/tooltip-clipping from 665ce37ddb to 3c28419217 2026-04-06 16:14:01 +00:00 Compare
hodlbod merged commit 70e5172f1b into dev 2026-04-06 16:14:09 +00:00
hodlbod deleted branch fix/tooltip-clipping 2026-04-06 16:14:09 +00:00
hodlbod referenced this issue from a commit 2026-04-06 16:14:09 +00:00
Sign in to join this conversation.