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
Feature: swipe ui #110
Feature: swipe ui #110
Conversation
Hi @jkettmann, We've both made pretty dramatic changes to the codebase. This branch Is there any chance you could help? |
Hi @jossmac, of course. I'll have some time the next days. I'll keep you posted. Any particular area you need help with? |
@jkettmann that's terrific, thank you! I'm struggling a bit with the new Basically if you could just take a look I suspect you'll notice something obvious that I've missed whilst integrating your changes. |
I made my changes now and pushed to my forked feature/swipe-ui branch. I'm not sure how the workflow is continuing now. Should I just create a pull request from my forked branch to feature/swipe-ui? Anyways: I'm not totally sure why setting source to something for non-visible images was important, but On mobile devices there is a small issue now, because the user cannot close the LightBox if he is not active anymore. |
Thank you @jkettmann, I appreciate you diving back into this
|
Hi @jossmac
|
* Fixed SwipeContainer by setting initial transformX * Only use SwipeContainer in Lightbox for animation * Added propTypes for Swipe- and ImageContainer * Extracted image component * Adjusted hidden images src to be single pixel gif
when will this be added to master? thanks |
if @jkettmann could fix the conflicts i can look at merging it, otherwise i'll look at it when i can. |
@neptunian I'll probably have some time at the weekend |
Hi, just a small update: I didn't find enough time on the weekend. I'll let you know soon |
@jkettmann is this merge for two different features? full screen and swipe or does full screen already exist? i don't see anything about that in the docs. |
@neptunian It's been quite some time, but as far as I remember it was something @jossmac was working on and we merged the two behaviors into this branch. But I'm not really sure |
@jkettmann do you recall the reason for that? otherwise it seems like it'd be easier to separate these features out for simplicity's sake. |
@neptunian No I don't remember a reason. You're right, it would be easier to separate them. |
@neptunian I resolved the conflicts. Should I create a pull request to feature/swipe-ui or somewhere else? |
@jkettmann i think we should probably keep it on this branch instead of starting over and separating things. perhaps @jossmac will be able to pick up where he left off again. Did you ever look into #3 that you mentioned above with loading of the images one or two ahead instead of loading them all? |
@neptunian Sorry it took me so long. I created a new pull request, because this branch is already quite messed up. You would have to resolve the conflicts yourself. If you would like me to change something just tell me. |
Would love to use this component as soon as touch support is added! |
I would like to use swipe function in current version ... is it gonna be possible? |
addressed in #199 |
Description of changes:
Attempt to integrate
feature/swipe-support
into new fullscreen layoutRelated issues (if any):
Checks:
npm run lint
ran successfully/src
and/examples/src
are committed