egui/crates/eframe/src
Aiden 43261a5396
Add pointer events and focus handling for apps run in a Shadow DOM (#5627)
* [x] I have followed the instructions in the PR template

This PR handles pointer events and focus which did following changes:
- `element_from_point` and focus is now acquired from root node object
by using `get_root_node` from document or a shadow root.
- `TextAgent` is appended individually in each shadow root.

These changes handles pointer events and focus well in a web app that
are running in a shadow dom, or else the hover pointer actions and
keyboard input events are not triggered in a shadow dom.
Helpful for building embeddable/multi-view web-apps.
2025-02-18 18:01:07 +01:00
..
native Save state on suspend on Android and iOS (#5601) 2025-01-27 08:14:49 +01:00
web Add pointer events and focus handling for apps run in a Shadow DOM (#5627) 2025-02-18 18:01:07 +01:00
epi.rs Fix some clippy issues found by 1.84.0 (#5603) 2025-01-13 08:29:13 +01:00
icon_data.rs Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
lib.rs Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
stopwatch.rs Much more accurate `cpu_usage` timing (#3913) 2024-01-29 19:12:16 +01:00