Why it doesn't scroll well ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

Why it doesn't scroll well ?

I have made a copy of the problem I am having in one of my codes . The problem is though I have put the overflow-x:scroll it does not scroll smoothly ,you have to swipe a thousand times . How to make it smooth and easily scrollable https://code.sololearn.com/WqTmBfXg77GT/?ref=app

3rd Apr 2017, 5:18 AM
Utkαrsh - avatar
5 Answers
+ 18
I know where the problem.the problem is not in your code, but sololearn's. The problem is because if you swipe left to right (Phone Sololearn) will change the output to javascript, and if you swipe right to left, in right side you will see some effect from sololearn that mean you in the most right side. Because this facility (Swipe to change display) Make you can't swipe smoothly try keep hold and swipe to down, keep hold it, dont unhold, then swipe to right/left, It will be smoothly scrolled
3rd Apr 2017, 1:41 PM
Immanuel - avatar
+ 12
Working fine at my end. Don't know what problem you're facing
3rd Apr 2017, 11:46 AM
Chirag Bhansali
Chirag Bhansali - avatar
+ 11
@Immanuel after swiping down as you said it's smooth , problems maybe in code playground only . I have to find some other method to represent it.
3rd Apr 2017, 2:18 PM
Utkαrsh - avatar
+ 4
does not scroll well for me
3rd Apr 2017, 11:49 AM
Heng Jun Xi
Heng Jun Xi - avatar
+ 4
to overcome the sliding in Code Playground, you can have another finger touching the screen. To overcome this issue that I experienced with my graphical joystick project I added some buttons so that the user is forced to use two hands:one is pressing the buttons while the other is swiping. Of course you have to model the game mechanics around this workaround. A typical example would be a shooter where the user controls the spaceship swiping a Joystick while with the other hand presses a button to shoot all the time...
30th Jun 2017, 4:04 PM
seamiki - avatar