uwex-learning-tech / sbplus-v3

Storybook Plus is a web application for delivering multimedia presentations.
https://media.uwex.edu/our-work/application-showcase/the-storybook-player
GNU General Public License v3.0
2 stars 1 forks source link

Table of Content does not scroll to the begin after click next on the last page #96

Closed Lin87 closed 5 years ago

Lin87 commented 5 years ago

Error message:

Uncaught TypeError: Cannot read property 'scrollIntoView' of undefined
    at Object.updateScroll (sbplus.js:29)
    at Object.selectPage (sbplus.js:29)
    at Object.goToNextPage (sbplus.js:29)
    at HTMLButtonElement.dispatch (jquery.js:3)
    at HTMLButtonElement.q.handle (jquery.js:3)

Only happens when there is only one section.

Lin87 commented 5 years ago

Fixed. To be released in version 3.2.1.