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

responsive toggle not working #187

Closed
panaak opened this issue Apr 12, 2016 · 0 comments
Closed

responsive toggle not working #187

panaak opened this issue Apr 12, 2016 · 0 comments

Comments

@panaak
Copy link

panaak commented Apr 12, 2016

hi,

just tried to install clean rails app with the latest foundation-rails 6.2.0.1

found out responsive toggle doesn't quite work.

.title-bar{"data-hide-for" => "medium", "data-responsive-toggle" => "example-menu"}
  %button.menu-icon{"data-toggle" => "", :type => "button"}
  .title-bar-title Menu
#example-menu.top-bar
  .top-bar-left
    %ul.dropdown.menu{"data-dropdown-menu" => ""}
      %li.menu-text Site Title
      %li.has-submenu
        %a{:href => "#"} One
        %ul.submenu.menu.vertical{"data-submenu" => ""}
          %li
            %a{:href => "#"} One
          %li
            %a{:href => "#"} Two
          %li
            %a{:href => "#"} Three
      %li
        %a{:href => "#"} Two
      %li
        %a{:href => "#"} Three
  .top-bar-right
    %ul.menu
      %li
        %input{:placeholder => "Search", :type => "search"}/
      %li
        %button.button{:type => "button"} Search

this is the example code from foundation website

the motion plugins are imported, the css files are in place. still the menu doesn't toggle and the menu-icon isn't displayed.

dont' know if it is a foundation's or foundation-rails'es problem..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants