Skip to content

Masonry does not place images optimally in Firefox #62

Description

@allthesignals

Masonry works well in other browsers except Firefox. In Firefox, it distributes images incorrectly, leaving large columns of white space unfilled.

In Firefox 34.0.5:
screen shot 2015-01-14 at 11 45 43 am

Correct behavior in Chrome:
screen shot 2015-01-14 at 11 46 01 am

Here is the relevant Masonry code: https://github.com/codeforboston/bostongreenmap/blob/master/client/js/app.js#L354-L360

Here is the relevant CSS code:
https://github.com/codeforboston/bostongreenmap/blob/master/client/scss/_results.scss

Relevant Handlebars template:
https://github.com/codeforboston/bostongreenmap/blob/master/client/templates/resultItem.hbs

And Masonry docs: http://masonry.desandro.com/

We need Firefox to place the images as they are placed in Chrome and other browsers. Any thoughts on what is causing this?

Here is some possibly related discussion: desandro/masonry#166 (comment)
This issue concerns percentage widths, so it doesn't seem relevant.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions