Skip to main content
shark
Associate III
April 20, 2020
Question

ScrollWheel inside ScrollableContainer un-scrollable

  • April 20, 2020
  • 3 replies
  • 673 views

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
April 20, 2020

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
April 20, 2020

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
April 20, 2020

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