Description

The result of changing the Visibility of a widget placed as a child of RetainerBox is not reflected. Here we have disabled hittest for the Button widget, but hittest is incorrectly accepted. This issue occurs in UE5.5 and later, and worked correctly as expected in UE5.4.

A similar issue was addressed in UE5.4 in [Link Removed] and has been corrected to propagate the Visibility of RetainerBox itself. 

Steps to Reproduce

1. Create an empty project
2. Create a widget blueprint and add the following placement widget
[Widget Root]
 - RetainerBox
    - Button
3. Add SetVisibility node to Event Construct
 Change Button's Visibility to "Not Hit-Testable(Self&AllChildren)"
4. Add the widget created in step 2 by CreateWidget and AddToViewport
5. Click on the Button

Result:
  Button's Hit is valid and can be clicked.
Expected:
  Button's Hit is invalid and cannot be clicked.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-240472 in the post.

0
Login to Vote

Unresolved
ComponentUE - Editor - UI Systems - UMG
Affects Versions5.5
Target Fix5.7
CreatedJan 28, 2025
UpdatedJan 30, 2025
View Jira Issue