foundation-rails icon indicating copy to clipboard operation
foundation-rails copied to clipboard

Navigation issues

Open ghost opened this issue 7 years ago • 6 comments

On a virigin rails app made purely to test this gem, I can't get any of the navigation components show on the Zurb website working. Is this a known problem?

ghost avatar May 04 '17 20:05 ghost

Can you put your app on GitHub and share the link here please?

Deckluhm avatar May 04 '17 20:05 Deckluhm

Certainly. I can do that this evening.

-- Jeremy Whitman

On May 4, 2017, at 1:46 PM, Arnaud Thomas Desessarts [email protected] wrote:

Can you put your app on GitHub and share the link here please?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ghost avatar May 04 '17 21:05 ghost

Here you go Arnaud,

https://github.com/jeremyawhitman/rails_foundation

On Thu, May 4, 2017 at 2:16 PM, Jeremy Whitman [email protected] wrote:

Certainly. I can do that this evening.

-- Jeremy Whitman

On May 4, 2017, at 1:46 PM, Arnaud Thomas Desessarts < [email protected]> wrote:

Can you put your app on GitHub and share the link here please?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zurb/foundation-rails/issues/225#issuecomment-299304023, or mute the thread https://github.com/notifications/unsubscribe-auth/AL01PcZohUxG2Bk43RTx9jWOtoQyOSL_ks5r2jkwgaJpZM4NRLSf .

ghost avatar May 04 '17 23:05 ghost

I don't have any issue with the app your provided.

You may have forgotten to restart your Rails server after installing the gem?

Deckluhm avatar May 05 '17 09:05 Deckluhm

I do apologize, I should have looked at that a bit harder at the app yesterday before I sent it.

The problem I'm having is with any menu that has a drop down in it.

I have updated the application on git and I also attached a screenshot of the problem.

It is using a copy and paste of the responsive menu from this page. http://foundation.zurb.com/sites/docs/responsive-navigation.html with some internal links added to replace the defaults.

I very much appreciate your help on this.

On Fri, May 5, 2017 at 2:34 AM, Arnaud Thomas Desessarts < [email protected]> wrote:

I don't have any issue with the app your provided.

You may have forgotten to restart your Rails server after installing the gem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zurb/foundation-rails/issues/225#issuecomment-299422355, or mute the thread https://github.com/notifications/unsubscribe-auth/AL01PQd8UbgBE9turVUe--s7VUb_LhpJks5r2u0XgaJpZM4NRLSf .

ghost avatar May 05 '17 16:05 ghost

Your problem comes from javascript not working due to turbolinks I spent few hours to make it works Follow this issue here to solve your problem https://github.com/zurb/foundation-rails/issues/201

If you're on Rails 5.1, you'll need to bring jQuery again and so remove the new ujs from Rails 5.1 from your application.js

//= require jquery
//= require jquery.turbolinks
//= require jquery_ujs
//# require rails-ujs

bdesmarez avatar May 10 '17 12:05 bdesmarez