Skip to main content
shark
Associate III
Apr 20, 2020 4:00 AM UTC
Question

ScrollWheel inside ScrollableContainer un-scrollable

I put a ScrollWheel inside ScrollableContainer, then the ScrollWheel can not be scrolled.

How to go around it?

This topic has been closed for replies.

3 replies

Romain DIELEMAN
ST Employee
Apr 20, 2020 6:33 AM UTC

Could you provide some code or pictures of your project? With more information we will have a better understanding on what you want to do.

/Romain

shark
sharkAuthor
Associate III
Apr 20, 2020 6:52 AM UTC

0693W000000W4MeQAK.png

the scrollWheel with 10 items is put inside a scrollableContainer, click item in scrollWheel is ok, but can not drag up or down.

Romain DIELEMAN
ST Employee
Apr 20, 2020 7:34 AM UTC

What is the use of your scrollableContainer? Can it be replaced by a swipeContainer?

It is not possible to differentiate the swipe for the two containers, therefor you are not able to drag up or down. A swipe container where you swipe horizontaly can solve this issue if it makes sense for your project.

Have a look at the code Alexandre gave for a similar question.

/Romain