8ab33bb80c
A value typed before its target opened the box 18 px right and 10 px below the pointer, so its frame covered the geometry a click was about to pick. Near the viewport's right or bottom edge the clamp then slid the box back over the pointer, losing the gap where it mattered most. It now keeps a 30 px gap, and at an edge it opens on the pointer's other side instead of sliding back. Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>