fix/tooltip-clipping #156
Reference in New Issue
Block a user
Delete Branch "nayan9617/flotilla:fix/tooltip-clipping"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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.
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
Tooltipcomponent.I’ll try switching to the Tooltip component and explore if it can handle overflow properly within modals.
@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.
665ce37ddbto3c28419217