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, I love your project, thanks a lot for your work.
I'm trying to make a carousel selector with your library, and I'm struggling with 2 things. It would be wonderful if you could give me a hand with this.
First, I don't get how to set a default value for my component, but I'm sure there's a way to do so.
Secondly, I change the style of the element in the carousel depending on whether it is the current selected index or not, so the item at the center looks like a "selected item". But the way I did it using onScrollEnd() and onScrollBegin() does not look fluid when scrolling, there's always a short lag before the style of the selected element changes.
This one is more tricky I guess, maybe there's nothing much I can do about it.
It might help, so here's some samples of my code.
First the CarouselSelector component I'm trying to make.
Hello,
First of all, I love your project, thanks a lot for your work.
I'm trying to make a carousel selector with your library, and I'm struggling with 2 things. It would be wonderful if you could give me a hand with this.
First, I don't get how to set a default value for my component, but I'm sure there's a way to do so.
Secondly, I change the style of the element in the carousel depending on whether it is the current selected index or not, so the item at the center looks like a "selected item". But the way I did it using onScrollEnd() and onScrollBegin() does not look fluid when scrolling, there's always a short lag before the style of the selected element changes.
This one is more tricky I guess, maybe there's nothing much I can do about it.
It might help, so here's some samples of my code.
First the CarouselSelector component I'm trying to make.
And the way I include them in the render method of a screen :
Hope you can help me,
have a good day sir
The text was updated successfully, but these errors were encountered: