Scroll not working when prefabs inside have click events

Hello there,
I am working on a unity image viewer in 2D.
I created a prefab for raw image and in script.
I added that prefabs to scrollview content. it worked fine
I added drag and pointerdown events to that prefab because I want to change the order of images with drag drop
I added Event trigger events to prefabs in script where I Instantiate the prefabs
and after that since these events triggers the scrolling doesnt work.
if I removed the events scrolling works but I need to use events on prefabs
how can I seperate scolling and prefab events

Hi, Please try asking in Unity Engine - Unity Discussions