metafizzy / isotope

:revolving_hearts: Filter & sort magical layouts
https://isotope.metafizzy.co
11.03k stars 1.42k forks source link

isotope v3 error: No layout mode: cellsByRow #1632

Closed rubymused closed 1 year ago

rubymused commented 1 year ago

Using version 3.06, and cellsByRow does not seem to exist.

Here are my option settings: let options = { itemSelector: ".teaser", layoutMode: "cellsByRow", cellsByRow: { columnWidth: 74, rowHeight: 74 },

  getSortData: {...}

}

I've attached a screen shot of the error I'm seeing.

Thank you.

Screen Shot 2022-08-29 at 5 05 06 PM
thesublimeobject commented 1 year ago

@rubymused —

From the Layout Modes page:

masonry, fitRows, and vertical are included in Isotope by default. All other layout modes need to installed separately.

If you did not install the module for that layout mode separately, that is likely the source of your error.

rubymused commented 1 year ago

Sorry if I'm being obtuse, but where would I find that module? Not seeing it on the website or here in github.

On Aug 30, 2022, at 10:21 AM, hunter b rose @.***> wrote:

@rubymused https://github.com/rubymused

From the Layout Modes https://isotope.metafizzy.co/layout-modes.html page:

masonry, fitRows, and vertical are included in Isotope by default. All other layout modes need to installed separately.

If you did not install the module for that layout mode separately, that is likely the source of your error.

— Reply to this email directly, view it on GitHub https://github.com/metafizzy/isotope/issues/1632#issuecomment-1231951414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJ5D2GBV5IFRVAIS5NZZPLV3Y7KVANCNFSM577T3T5Q. You are receiving this because you were mentioned.

thesublimeobject commented 1 year ago

@rubymused — https://www.npmjs.com/package/isotope-cells-by-row