dohliam / gasp-translator

A translation frontend for the Global African Storybook Project
https://global-asp.github.io/translator/
MIT License
2 stars 0 forks source link

First page of story should be focused on navigating to new page #8

Closed dohliam closed 8 years ago

dohliam commented 8 years ago

When pressing next/previous/random the new story opens in the same scroll position as the last one. In other words, if the user has scrolled all the way to the bottom of the story and then presses "next", the new story will open up at the bottom (the end of the story), rather than the beginning.

To do: Add focus() to the first page/box of the story when navigating.