-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Unshift + selectedIndex bugged #194
Comments
Can you try using an observable array ? |
Thanks for responding @triniwiz, I've tried a few different ideas including
What I'm aiming to do it, as the user swipes to 0th index of the array, I add more items to the array and remove items from the end
|
Hi @triniwiz, it's quite vital that I get this sorted and offering a bounty for this to be fixed is on the table for me - Thanks! |
Looking at your code you're recreating a new |
I'll get back to you in the next few days I hope - Please keep this ticket open |
JS:
|
|
Thanks for the quick reply I just came back to add that the code above the slides go and adding further elements to the end of the array
goes jan -> feb -> march -> april -> may -> june -> july -> august-> september -> october -> november -> jan -> feb Thanks yeah I know that refresh shouldn't be necessary but I thought it was worth observing it's behaviour and it seems odd to me I'll give what you suggested a go now |
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
I'm trying to use unshift to push more pages to the front as I scroll. Forcing Vue and forcing Pager to refresh doesn't appear to work.
Is this possible?
Pager shows '2021-01-01' and cannot swipe left to new previous slide
The text was updated successfully, but these errors were encountered: