Commit 3f2d367
committed
fix: prevent tooltips from extending beyond viewport edges
- Add collisionPadding and avoidCollisions props to TooltipContent
- This ensures tooltips automatically reposition when they would overflow the container1 parent 5e395bb commit 3f2d367
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
0 commit comments