KevinBatdorf / liquidslider

A Responsive jQuery Content Slider
161 stars 62 forks source link

Tabs stop on page focus loss. #137

Closed BackuPs closed 9 years ago

BackuPs commented 10 years ago

Hi Kevin,

In version 2.0.12 the tabs kept on scrolling when the page lost focus f.e. by clicking in the browser url field.

In the latest version all tabs stop and they resume when one clicks into the page again. Is it possible to set a setting that tabs keep sliding when focus of the page or browser window is lost? I really liked that ability and wonder why it was removed.

Was or is this done by design?

Thanks ! B.

KevinBatdorf commented 10 years ago

This was done on purpose because in Chrome, the animations would queue up when on different tabs. Then when the tab regains focus, the animations would catch up. So for example, if the tab lost focus on slide 1 and regained on slide 4, it would slide all the way across. I believe this was a poor user experience.