Skip to main content
er3481
Associate III
August 8, 2019
Question

Slider with swipe container

  • August 8, 2019
  • 10 replies
  • 1892 views

Hi,

I want to use swap container and a slider on same page. But when i click on slider background, i can not use swipe container, i.e i can not swap to second page. I just want to update the slider when i drag the indicator, not with clicking the background. So how can i implement this? Any advise?

This topic has been closed for replies.

10 replies

Martin KJELDSEN
Principal III
August 8, 2019

Hi,

I'm having a little difficulty understanding your issue. I don't see any problem using a swipe container / slider on the same page (unless the slider is in one of the swipe container pages). Is this the case? Can you show me a screenshot?

/Martin

er3481
er3481Author
Associate III
August 8, 2019

Hi @Martin KJELDSEN​ 

Please see the attached screenshot.

0690X0000098ImaQAE.png

Martin KJELDSEN
Principal III
August 8, 2019

At which point do you want the slider to activate then? Only if you press the actual indicator? Is the slider in a swipe container page?

er3481
er3481Author
Associate III
August 8, 2019

Hi, @Martin KJELDSEN​ 

Yes, i just want to press and drag the actual indicator and adjust its value. And yes, the slider is in a swipe container page. Do you have any advise for me ?

er3481
er3481Author
Associate III
August 9, 2019

Hi, @Martin KJELDSEN​ 

I just want to swipe to second page from anywhere on the screen except the slider knob. This is only a design specification, because some users may want to slide screen from anywhere, so i want to control the slider with only its indicator. By the way , the setTouchable function can take one parameter of which true or false. How can we use this function with this aim?

Martin KJELDSEN
Principal III
August 26, 2019

Hi @er3481​,

Sorry, this slipped my mind! And i didn't get a notification about this, for some reason. Did you get anywhere on your own, or should we continue?

er3481
er3481Author
Associate III
August 26, 2019

Hi, @Martin KJELDSEN​ 

I couldn't achive any solution about this subject. If you can help, we can continue.

Thanks.