Skip to content
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

Add "originLeft" option #26

Closed
adamsoffer opened this issue Dec 13, 2018 · 2 comments
Closed

Add "originLeft" option #26

adamsoffer opened this issue Dec 13, 2018 · 2 comments
Labels
feature Feature request

Comments

@adamsoffer
Copy link

Masonry has an option for controlling the horizontal flow of the layout. By default, item elements start positioning at the left, with originLeft: true. If you want them to start positioning at the right you simply set it to false. How does one achieve the same thing with this library?

Loving this library. Thank you!

@paulcollett
Copy link
Owner

Hi @adamsoffer, currently not supported though could be a trivial addition. Just so I understand it better, could you give me a bit of background on your and other common use cases for this feature?

@paulcollett paulcollett added the feature Feature request label Jan 31, 2019
@adamsoffer
Copy link
Author

Sure! Here's the page where I'm using the library: https://thinkfwd.co/about

On the bottom of the page, notice how the three team members are stacked? The third one "floats" right. I was able to achieve that in a sort of hacky fashion - I created a hidden third element so that that the library forces the forth one to the right. Ideally, the library would provide an option for me to set the items origin to the right.

Hope that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants