File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -350,6 +350,11 @@ pub struct PickingEventWriters<'w> {
350350/// receive [`Out`] and then entity B will receive [`Over`]. No entity will ever
351351/// receive both an [`Over`] and and a [`Out`] event during the same frame.
352352///
353+ /// When we account for event bubbling, this is no longer ture. When focus shifts
354+ /// between children, parent entities may receive reduntant [`Out`] → [`Over`] pairs.
355+ /// In the context of UI, this is especially problematic. Additional hierarchy-aware
356+ /// events will be added in a future release.
357+ ///
353358/// Both [`Click`] and [`Up`] target the entity hovered in the *previous frame*,
354359/// rather than the current frame. This is because touch pointers hover nothing
355360/// on the frame they are released. The end effect is that these two events can
You can’t perform that action at this time.
0 commit comments