diff --git a/crates/bevy_ui/src/widget/image.rs b/crates/bevy_ui/src/widget/image.rs index 70995e3c93..43df6aaeeb 100644 --- a/crates/bevy_ui/src/widget/image.rs +++ b/crates/bevy_ui/src/widget/image.rs @@ -269,7 +269,9 @@ pub fn update_image_content_size_system( * ui_scale.0; for (mut content_size, image, mut image_size) in &mut query { - if !matches!(image.image_mode, NodeImageMode::Auto) { + if !matches!(image.image_mode, NodeImageMode::Auto) + || image.image.id() == TRANSPARENT_IMAGE_HANDLE.id() + { if image.is_changed() { // Mutably derefs, marking the `ContentSize` as changed ensuring `ui_layout_system` will remove the node's measure func if present. content_size.measure = None;