Ignore parent component animation

Hi! I’d like to know if there’s a way to exclude a child component from the movement of a parent:
I have a child component that I can drag with my mouse around on the parent component, the parent component is a contained component of a viewport and I want to scroll it when I reach with the child component an edge of the viewport.

Thank you in advance!