HOW TO MAKE MAKE MATERIAL UI ELEMENTS DETECT SCROLLING ON TOP OF THEM?

0 votes
asked Apr 22, 2016 by anonymous
MATERIAL UI ELEMENTS DONT DETECT SCROLLING ON TOP OF THEM IF THEY ARE IN SCROLL RECT AND YOU WANT TO SCROLL BY DRAGGING ON THEM
commented Apr 24, 2016 by admin (31,720 points)
Hi there,

Are you able to provide an image or example of what you're trying to achieve?

Cheers :)

~ Declan.
commented Apr 24, 2016 by anonymous
sorry i can't right know, but the issue is i have a scrollrect filled with Material UI Buttons when i try to drag on top of them to scroll to the bottom of the list it does't detect the scroll.
commented Apr 28, 2016 by admin (31,720 points)
I don't seem to be able to reproduce this. Just a ScrollRect, the content rect, and a flat/raised MaterialButton in the content rect?

~ Declan.
commented Apr 28, 2016 by anonymous
Exactly ,try to scroll by draging your finger over the buttons,and it doesn't word, but normal unity ui buttons works.
commented Apr 28, 2016 by admin (31,720 points)
Works fine for me, in the editor and on an Android Build. What else have you added to the ScrollRect or Buttons?
commented Apr 28, 2016 by anonymous

Here are the Details,the Scroll to Child Script would be Disabled (for arrow navigation on other platforms),don't bother about it.

this button is a prefab,on runtime multi buttons will be generated.

the issue is not in this scroll panel only,its in every scroll panel.

IndexPanel 1

indexPanel2

ViewPort

Content

Button 1

Button 2

Button 3

Button-Image

Button-Text

commented May 2, 2016 by admin (31,720 points)
The EventTrigger component would likely be the source of this issue. Does the issue happen with all the buttons, or just the one with the EventTrigger?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Welcome to MaterialUI support! Ask us anything :)
...