When HitTest(Self/Child) is disabled in RetainerBox, the child widget is assumed to not fire all hit test events. However, in this case, the hit test event is fired in the child widget. This is an insufficient effect of the "Not Hit-Testable (Self&All Children)" setting on RetainerBox. The workaround are to add a CanvasPanel or Overlay to the RetainerBox child widgets and set "Not Hit-Testable (Self&All Children)" to Visibility for the widget, or disable retainer rendering.
Result:
HitTest(Self/Child) is disabled in RetainerBox, but OnHovered event is detected and logged in child widgets.
Expected:
Not trigger OnHovered event.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-203701 in the post.
0 |
Component | UE - Editor - UI Systems - UMG |
---|---|
Affects Versions | 5.3 |
Target Fix | 5.4 |
Fix Commit | 29961984 |
---|
Created | Jan 11, 2024 |
---|---|
Resolved | Jan 22, 2024 |
Updated | Feb 13, 2024 |