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

Random stacking of all items in same place #1173

Closed
neilgee opened this issue Sep 26, 2016 · 2 comments
Closed

Random stacking of all items in same place #1173

neilgee opened this issue Sep 26, 2016 · 2 comments

Comments

@neilgee
Copy link

neilgee commented Sep 26, 2016

Hi,
I'm getting a random error when all items are being stacked left hand side of the page in the same place - it only happens some of the time and otherwise all items align in a grid properly, using v3.0.1

When it does occur all isotope items inherit the same css

element.style {
    position: absolute;
    left: 0px;
    top: 0px;
}
jQuery(document).ready(function($){

        /*main function*/
        $('.portfolio-content').isotope({
                // options
                itemSelector: '.portfolio-item',
        });



        /*filter*/
        $('.filter a').click(function() {
                var selector = $(this).attr('data-filter');
                $('.portfolio-content').isotope({
                filter: selector
                });
                $(this).parents('ul').find('a').removeClass('active');
                $(this).addClass('active');
        });
});

I don't get any console errors when it does occur

@desandro
Copy link
Member

I'm sorry to see you're having trouble with Isotope. Could you provide a reduced test case? See Submitting Issues in the contributing guidelines.

@neilgee
Copy link
Author

neilgee commented Oct 8, 2016

Not too sure why this was happening - I've a feeling I was using some older code - rebuilt and all ok now.

@neilgee neilgee closed this as completed Oct 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants