diff --git a/Scripts/Core/Runtime/Behaviours/SimpleSideMenu.cs b/Scripts/Core/Runtime/Behaviours/SimpleSideMenu.cs
index 1ae69f3..952edc2 100644
--- a/Scripts/Core/Runtime/Behaviours/SimpleSideMenu.cs
+++ b/Scripts/Core/Runtime/Behaviours/SimpleSideMenu.cs
@@ -169,7 +169,7 @@ private bool IsValidConfig
Debug.LogError("[SimpleSideMenu] Transition speed cannot be less than or equal to zero.", gameObject);
valid = false;
}
- if (handle != null && isHandleDraggable && handle.transform.parent != rectTransform)
+ if (handle != null && isHandleDraggable && !handle.transform.IsChildOf(rectTransform))
{
Debug.LogError("[SimpleSideMenu] The drag handle must be a child of the side menu in order for it to be draggable.", gameObject);
valid = false;
@@ -483,4 +483,4 @@ public void Close()
}
#endregion
}
-}
\ No newline at end of file
+}