Files
egui/crates
Emil Ernerfeldt ad23a60f72 Web: anchor the text agent to the canvas
Insert the hidden text-agent <input> as a sibling of the canvas and
position it using offsetLeft/offsetTop instead of
getBoundingClientRect, so it stays anchored to the canvas regardless
of page scrolling and embedding. This also fixes the IME popup
position on scrolled pages, subsumes the mobile Safari
virtual-keyboard workaround, and removes the special-casing of
document vs shadow DOM roots.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 18:30:58 -07:00
..