Repository navigation
Commit 5a876e1
committed
fix(website): re-clamp hovered bubbles on close and resize
Two Greptile P2s, both valid states the first clamp pass missed:
- Tapping a tooltip closed it while the pointer stayed over it; :hover
keeps the bubble visible but the close path cleared the shift, so an
edge bubble jumped outside the viewport until re-hover. Re-clamp
instead of clearing when :hover still matches.
- The resize re-clamp matched only [open] bubbles; hover-only ones kept
a stale shift across viewport changes. Match :hover too.1 parent 88a44ac commit 5a876e1
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
155 | 159 | | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
161 | | - | |
| 165 | + | |
| 166 | + | |
162 | 167 | | |
163 | | - | |
| 168 | + | |
164 | 169 | | |
165 | 170 | | |
0 commit comments