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 @@ -314,6 +314,11 @@ pub struct PickingEventWriters<'w> {
314314/// receive [`Out`] and then entity B will receive [`Over`]. No entity will ever
315315/// receive both an [`Over`] and and a [`Out`] event during the same frame.
316316///
317+ /// When we account for event bubbling, this is no longer ture. When focus shifts
318+ /// between children, parent entities may receive reduntant [`Out`] → [`Over`] pairs.
319+ /// In the context of UI, this is especially problematic. Additional hierarchy-aware
320+ /// events will be added in a future release.
321+ ///
317322/// Both [`Click`] and [`Up`] target the entity hovered in the *previous frame*,
318323/// rather than the current frame. This is because touch pointers hover nothing
319324/// 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