Question by
robby702 · Dec 06, 2019 at 09:31 AM ·
issueeventsystemlayoutraycasthit2d
Passing event data from a button to a scroll view
I have a similar set up to many in which I have a UI popup of some sort (in my case a drop-down menu) and I am using a large button behind it to close the menu on a missed click. The issue is that the button appears to eat the graphic ray-cast (or EventData?). I have a scroll view which the drop down menu is on which I want to be able to scroll with the closing click.
Would I be able to keep the click (and drag) going for the scroll view while still using the button to block single missed clicks?
5cf309eb3484335e25bf16c17e7bb78b.png
(6.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612215753im_/https://answers.unity.com/themes/thub/images/avi.jpg)