arvgta/ajaxify

Bug in slideshow fixed

Closed this issue · 0 comments

After at least one year of having it shut off, I have decided to re-enable the slideshow(it kicks in after 60 seconds of user-inactivity) on the Ajaxify demo site, albeit in a simplified form:

  • The toggleSlide logic has been removed - the slideshow is now turned-off by user activity alone (that should make the code even smaller than before). I reckon, the old feature providing a "graphic of a pin" to shut it off caused more confusement than anything else...

However, there now is a bug visible, that I was not aware of before - here's how to reproduce it:

  1. Traverse to any sub-page
  2. Wait for 60 seconds for the slideshow to commence
  3. Let the slideshow operate for a few seconds
  4. Press the "back" button(several times) -> the user-experience will be heavily distorted

It's worth mentioning, that everything is fine, when the slideshow kicks-in without the user having visited any sub-page.

The issue is obviously, why is the user-experience distorted? (in every browser I tested)


EDIT: Solved


EDIT: Slideshow now documented