Menu icon Foundation
Menu off-canvas bug

Hi,
My off-canvas work regular menu on iphone and chrome emulating, after version 5.3.3 it stopped working, the emulator works, in most cases not.
I created one, very clean, very precise help test page.
URL: http://novo.clickgratis.com.br/teste.html

off-canvasmenu

Hi,
My off-canvas work regular menu on iphone and chrome emulating, after version 5.3.3 it stopped working, the emulator works, in most cases not.
I created one, very clean, very precise help test page.
URL: http://novo.clickgratis.com.br/teste.html

Roger Coathup about 5 years ago

This problem has been reported elsewhere, and we encountered the same problem.

The markup requirement has changed in 5.3.3, you need to add 'data-offcanvas' to your wrap div, e.g.

<div class="off-canvas-wrap" data-offcanvas>

Jeremy Englert about 5 years ago

Try replacing:
HTML
<a class="left-off-canvas-toggle menu-icon"><span></span></a>

With:
HTML
<a href="#" class="left-off-canvas-toggle menu-icon"><span></span></a>

Preston McPeak about 5 years ago

Hey Breno, I'm not sure what your error is with Offcanvas. Is it because there is no content on the page?

Try adding your content on the page about the "exit-offcanvas- anchor" like so:

  <section class="main-section">
          <div class="row">
        <div class="large-12 columns">

          <h4 class="">The Psychohistorians</h4>

          <p>Set in the year 0 F.E. ("Foundation Era"), The Psychohistorians opens on Trantor, the capital of the 12,000-year-old Galactic Empire. Though the empire appears stable and powerful, it is slowly decaying in ways that parallel the decline of the Western Roman Empire. Hari Seldon, a mathematician and psychologist, has developed psychohistory, a new field of science and psychology that equates all possibilities in large societies to mathematics, allowing for the prediction of future events.</p>

          <p>Using psychohistory, Seldon has discovered the declining nature of the Empire, angering the aristocratic members of the Committee of Public Safety, the de facto rulers of the Empire. The Committee considers Seldon's views and statements treasonous, and he is arrested along with young mathematician Gaal Dornick, who has arrived on Trantor to meet Seldon. Seldon is tried by the Committee and defends his beliefs, explaining his theories and predictions, including his belief that the Empire will collapse in 500 years and enter a 30,000-year dark age, to the Committee's members.</p>

        </div>
      </div>
        </section>