milohuang/reverie

data-equalizer not working

Opened this issue · 6 comments

I just found that the data-equalizer function doesn't work in reverie. I have tried to include the foundation.equalizer.js in the functions.js (register_script and enqueue_script) but no success.

Also I have replaced the foundation.min.js file included in Reverie with the latest version from the Foundation website. Also without the desired result.

Can you help me out?

Whoa! very cool. I didn't even know about that.
I've created a fork of Reverie built with Grunt and the latest version of Foundation; I just tested this and it's working.
If you want to try it out, check out grunterie.

Thanks! I'll definitely check that out. The data-equalizer is a great function. I was almost about to give up and use tables :)

I've actually already found somewhere to use it.
Just a note... It took me a few minutes to get it working because I was using it like a class instead of adding it to the element.
So I was trying to use it like this:
<div class="row data-equalizer" >
That obviously didn't work but I realized the mistake and changed to the following:
<div class="row" data-equalizer>
That fixed it. Simple mistake but I thought I'd share just in case you had the same thing going on.

Granted I was doing this in Grunterie so I can't say I've tested it in Reverie.

data-equalizer is not working for me in Reverie.
Has anyone found a fix for this ?

There are several issues with the latest version of reverie that are mostly because of issues that existed in the version of Foundation it was built with (viewport, sticky nav, and this). A lot of those issues have been fixed in the latest release of Foundation. Zhen's been MIA for a while but I imagine he'll show back up at some point to upgrade Reverie to the latest version of Foundation which will fix a lot of the minor issues people are having.

Until then, if you want to use reverie with the latest version of foundation, try Grunterie.
I'm going to try to keep Grunterie at the current versions when they come out. Also, if Zhen updates Reverie, I'll try to port everything over for people who want to use Grunt but you'll still be able to use Compass.

If you're looking for a quick fix, you may want to check out the foundation data-equalizer issues for hints. That's how I figured out how to fix the sticky top bar issue.

Thank you for your reply. I actually ended up using flexbox to achieve what I wanted (same height responsive panels) and it worked perfectly for what I needed :)

Cheers,