scrimba / community

Repository for public issue-tracking and discussions
https://scrimba.com
910 stars 75 forks source link

Scroll editor to cursor #205

Open rickysullivan opened 6 years ago

rickysullivan commented 6 years ago

When viewing a Scrimba, sometimes the voiceover is talking about a particular section of code that isn't in my viewport, perhaps make the editor window to scroll to show where the cursor is.

somebee commented 6 years ago

Do you have a link to a specific cast where you experience this? It should show the same section as the instructor, but this is not working in older casts. We are tinkering with a way to more intelligently decide what part of the code to show during playback (especially when the viewer has a smaller viewport than the instructor).

There is also a know issue now - when you scroll during playback, you are "detached" from following the scrolling of the instructor, without an obvious way to jump back to spectating.

vinaypuppal commented 6 years ago

@somebee

Do you have a link to a specific cast where you experience this?

After 1:40 in this cast https://scrimba.com/c/cdq9zSq I notice this problem.

rickysullivan commented 6 years ago

Any cast which in which content overflows my viewport. https://scrimba.com/c/cast-1683 for example.

perborgen commented 6 years ago

Got a mail from Mark regarding this one @somebee. Any idea on when we'll be able to solve it?