Closed louis1001 closed 2 years ago
@louis1001 thanks for reporting. This should be easy to fix, I'll see if I can get some time for that.
The issue is here in case you wanted to raise a PR yourself. Page
needs to know Pager
is looping so that it returns the right index.
It might be more complicated than that but that's a start
Thanks! I'll take a look at it.
My first impulse is to give Page
a Pager?
that it could check.
Describe the bug When using a looping
Pager
, updating the Page element with.update(.next)
works as intended until the last page, and then stops.To Reproduce
Expected behavior When it gets to the last page, I expect it to animate going the next page (the first one), like it would with user input.
Environment: