You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, let me thank you for creating this wonderful component. It works great and gives a native feel on mobile devices.
I just wanted to let you know I found it confusing that, when trying to set the swiper to the first element, you have to set it using setPage(1) instead of setPage(0). When using setPage(0), it's not clear it doesn't work like that, because it actually scrolls to the first item. It's upon swiping you notice there's something wrong when you have to swipe twice to get to the next slide. It would've saved me a lot of time if this was either:
Implemented like most people expect it to be (setPage(0)) where the first item is represented by 0, we're programmers, right?
If this confusing behavior was documented.
Just my two cents.
Thanks again for the wonderful component!
The text was updated successfully, but these errors were encountered:
First of all, let me thank you for creating this wonderful component. It works great and gives a native feel on mobile devices.
I just wanted to let you know I found it confusing that, when trying to set the swiper to the first element, you have to set it using setPage(1) instead of setPage(0). When using setPage(0), it's not clear it doesn't work like that, because it actually scrolls to the first item. It's upon swiping you notice there's something wrong when you have to swipe twice to get to the next slide. It would've saved me a lot of time if this was either:
Just my two cents.
Thanks again for the wonderful component!
The text was updated successfully, but these errors were encountered: