Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Start on Last Slide Viewed" Advances Slide #11

Open
mikesoltis opened this issue Dec 9, 2021 · 2 comments
Open

"Start on Last Slide Viewed" Advances Slide #11

mikesoltis opened this issue Dec 9, 2021 · 2 comments

Comments

@mikesoltis
Copy link

mikesoltis commented Dec 9, 2021

When this option is not checked, everything works as it should. Upon returning to the page, the first slide is always displayed.

When this option is first checked: navigating from the slideshow page and then back again, the last slide I was viewing is displayed properly. However, on all subsequent returns to the page the slide showing is not the same as it was when i left the page - it appears to increment by 1 slide each time.

If I refresh the page or flush the cache while on the slideshow page, the next slide is displayed.

The view display is a block.

Versions:
Backdrop: 1.20.1
Views Slideshow: 1.x-3.3.0

Settings:
Slideshow type: Cycle
Timer delay: 0 (this does not allow the slideshow to rotate automatically)

"Start on Last Slide" Viewed is checked (and length: 1)
Items per Slide: 1
Top Widgets: Pager selected
Pager type: Fields (Content: Title)

No errors on console, just this warning:
Cookie “test4_tabs-block” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

@mikesoltis
Copy link
Author

mikesoltis commented Jan 8, 2023

This continues to fail - it works for the first time back to the page - but subsequent returns to the page advance the slide by 1.

@mikesoltis
Copy link
Author

Here is a video showing the problem. The Timer Delay is set to 0, so the slides need to be advanced manually. The first part of the video is just toggling between the 2 slides leaving it on the 2nd slide. Click on "About" and come back to the slideshow. The same article is displayed (slide 2). So far so good. Hpwever, clicking on "About" and back a 2nd time, the slide is advanced (Slide 1). And each subsequent time, the slide is advanced by 1 (back and forth).

views_slideshow.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant