cleophasmashiri / oppia

Automatically exported from code.google.com/p/oppia
Apache License 2.0
0 stars 0 forks source link

On the learner page, when the user scrolls, cancel all scroll events that are in progress. #659

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load any exploration.
2. Go to the learner view of that exploration, and play through it. The view 
will autoscroll after an answer is submitted.
3. If I start scrolling up while this autoscroll is taking place, the page has 
this janky behavior where it jitters because I am scrolling up and it's trying 
to scroll down.

What is the expected output? What do you see instead?

I would expect the autoscroll to stop once I start scrolling (in any 
direction). Instead the autoscroll continues regardless and causes a jitter.

References:

    http://stackoverflow.com/questions/8858994/let-user-scrolling-stop-jquery-animation-of-scrolltop

Relevant files:

    extensions/skins/conversation_v1/Conversation.js

Original issue reported on code.google.com by s...@google.com on 9 Mar 2015 at 11:55

GoogleCodeExporter commented 9 years ago
Assigning to Reshad (cc'd) as starter project

Original comment by s...@google.com on 9 Mar 2015 at 11:56