Когда использовать
Add restrained pointer-following motion to a rare promotional action.
Решения для реализации
- Keep the hit target stationary and move its visual inner layer.
- Normalize coordinates against bounds and clamp displacement.
- Enable only for fine pointers with hover; reset on leave.
- Keep keyboard focus stationary and respect reduced motion.
Как проверить результат
- The target never runs away from the cursor.
- Touch does not retain hover.
- Keyboard access remains predictable.
Работающий пример
POINTER-DRIVEN / 120msПодведи курсор ближе