Hello. I have encountered an issue where the Srcollrect does not work when setting the Canvas render mode to Overlay.
I have my objects in the scene as follows:
Panel (Scrollrect, Image, Mask components)
-----List (Image, Content Size Fitter, Vertical Layout Group)
---------ListObject (Image, Layout Element) prefab
I am able to scroll the contents in the list with the scroll wheel of my mouse, but clicking and dragging is does not work. When I look at the EventSystem for the UI, pointerDrag detects the Panel object when I hold the mouse.
Now, this behavior only happens when the Canvas Render mode is setup to Screen Space - Overlay. Setting the Canvas Render mode to Screen Space - Camera or World Space will allow the contents in the List object to be scrolled by clicking and dragging.
I am still fairly new to Unity, so any help to resolve this issue would be greatly appreciated.