- Home /
How to vertical drag button inside horizontal scrollrect
Hi everyone. I want to know if its possible to drag a button vertically when the button hirarchy is like (ScrollRect > Panel > Button) and the ScrollRect is on horizontal dragging. i have mutliple buttons on my scrollrect > panel and what i want is that is i drag on the scroll horizontally (event if i click on a button to drag) the panel drags and if i drag from a button verticaly then the button drag event fires and panel stops moving. Sorry for the bad english :(
Puh. A bit difficult to understand what you exactly want. Can you provide a pic of the panel with the buttons?
Answer by OpenXcell-Studio · Oct 14, 2016 at 11:18 AM
http://answers.unity3d.com/questions/902929/scroll-not-working-when-elements-inside-have-click.html
refer this link may be it will help you
Your answer
Follow this Question
Related Questions
Is there a way to check if Scroll Rect is currently being dragged without using events? 2 Answers
Changing ScrollView content from the script 0 Answers
Is there a way to "pass on" UI events. 3 Answers
Call AddListener on sibling components from MonoBehaviour.Reset 0 Answers
Slider inside table view cell,Slider inside a TSTableViewCell 0 Answers