-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
Components: Deck Swiper #87
Comments
Do you mean Tinder like collection view layout? I did something similar in native Swift here: https://apps.apple.com/pl/app/the-idea/id1454724260 I can try to pick it ReactNative. Are there any requirements like "data source should be..." etc ? |
Hi @Chojecki ! Yeah, Tinder is the best example of this kind of component. It should be a component with the Tinder deck swiping feature which accepts any type of component. So basically if I want 4 Text components to be stacked one on top of the other and I want to swipe them to the left/right in order to get to the next Text component it should work. Thanks |
@palingheorghe Ye, I guess it could be a Component which takes an array of Components and map them into Stack of animated views wrapper with those components inside. Then all drag and drop logic will go to this animated wrapper. Not perfect as we can't predict the shape of array but should work. I will try to fork the repo and create something |
Is this issue still open? |
@shubhamkakkar sure, you can take it if you want. I just started doing it in functional components with hooks - I can share you gist if you want, but feel free to pick it instead of me. mine works like this when we inject just 3 simple Text components into it: |
Hey, it would be nice. |
https://codeburst.io/horizontal-scroll-animations-in-react-native-18dac6e9c720 I was thinking something like this, but with better effects and UX |
Not sure if this is a Deck Swiper as it isn't a "Deck" but just a CollectionView/ListView of elements No idea. Better ask @palingheorghe |
Yup i can relate to it not being a ideal deck type What's your views about https://link.medium.com/FsQ0zwXqlY |
For me its too specific. I can imagine that users will want as much vanilla component as it’s possible to customise it like they want. Like @palingheorghe mentioned, the perfect example is Tinder like deck. But hey, its not mine repo, so do what you consider the best :) |
Haha |
Hi @Chojecki and @shubhamkakkar ! Guys, I'm really happy that these types of conversations are going on in Galio's repo! ❤️ I understand your concern @shubhamkakkar and I like the whole 'component shouldn't disappear' thing. Can't we combine those two ideas? We could have a prop like Thanks to both of you for your awesome work so far @Chojecki @shubhamkakkar ! This is really awesome and I love it when great ideas get together. What do you think about the |
intact props sounds cool, I will try working on that. In the mean time I was trying to achieve the monzo card animation and I have come to the requriement of using libraries like react-native-animated and redash |
@shubhamkakkar sorry for the late reply, I was always trying to avoid more libraries. Do you think we could do this with a lighter library? I know we could add the dependencies in peerDependencies and the user needs to install those only if he's using them. So basically if the user really needs to use the deck swiper I guess he won't mind installing those? What do you think about this? Would adding those libraries make Galio slower and heavier? |
Hi @shubhamkakkar are you still working on this? |
@shubhamkakkar imma bump this one more time cause I need to know the progress of this component thanks ❤️ |
I am sorry, I wasn't able to reply on time,
NO, I am not working in this one !!
Sorry for the inconveniences caused!!
…On Mon, Sep 2, 2019, 9:44 PM Petru Alin Gheorghe ***@***.***> wrote:
@shubhamkakkar <https://github.com/shubhamkakkar> imma bump this one more
time cause I need to know the progress of this component
thanks ❤️
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#87?email_source=notifications&email_token=ABGTFMORODBYIYLDQDPXYI3QHU3VLA5CNFSM4HR2RXK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WGDMY#issuecomment-527196595>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABGTFMPL4OK5EF3SK5VRHK3QHU3VLANCNFSM4HR2RXKQ>
.
|
Read this: Working on a PR | CONTRIBUTING | Galio's docs
As I've written in our wiki. We're working towards v0.6 and for this thing to happen we need the following components.
Do you want to help? Just comment if you wish to work on:
If anybody has questions please comment them below.
🤙🏽
The text was updated successfully, but these errors were encountered: