egui/crates
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
..
ecolor Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00
eframe Add pointer events and focus handling for apps run in a Shadow DOM (#5627) 2025-02-18 18:01:07 +01:00
egui add Label::show_tooltip_when_elided (#5710) 2025-02-18 17:33:27 +01:00
egui-wgpu Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00
egui-winit Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00
egui_demo_app Make the ends of vline/hline sharper (#5676) 2025-02-04 15:31:51 +01:00
egui_demo_lib Add `Popup` and `Tooltip`, unifying the previous behaviours (#5713) 2025-02-18 15:53:07 +01:00
egui_extras Fix image_loader for animated image types (#5688) 2025-02-18 17:30:50 +01:00
egui_glow Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00
egui_kittest Add `Popup` and `Tooltip`, unifying the previous behaviours (#5713) 2025-02-18 15:53:07 +01:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add `Popup` and `Tooltip`, unifying the previous behaviours (#5713) 2025-02-18 15:53:07 +01:00
epaint Rename `Marginf` to `MarginF32` for consistency with `CornerRadiusF32` (#5677) 2025-02-11 11:23:59 +01:00
epaint_default_fonts Release 0.31.0 - Scene container, improved rendering quality 2025-02-04 16:47:56 +01:00