Giter Site home page Giter Site logo

Comments (7)

nelsonic avatar nelsonic commented on August 22, 2024

We are encountering this issue. @donnyv did you manage to fix it? (thanks)

from pushy.

donnyv avatar donnyv commented on August 22, 2024

Yeah but its not pretty. I did a quick hack just to get it to work.
I modified pushy file and added a work around only for IE.

I pulled IE detection code from this plugin. http://www.pinlady.net/PluginDetect/IE/
Thats what that "browser.isIE" comes from.

function togglePushy() {
    body.toggleClass(pushyActiveClass); //toggle site overlay
    pushy.toggleClass(pushyClass);
    container.toggleClass(containerClass);
    push.toggleClass(pushClass); //css class to add pushy capability

    // hack so nav bar doesn't cover scrollbar
    if (pushy.hasClass("pushy-left"))
        $("html, body").css("overflow-x", "visible");
    else
        $("html, body").css("overflow-x", "hidden");


    // hack around IE because of fixed position
    if (browser.isIE) {
        if (pushy.hasClass("pushy-left"))
            $(".navigation-bar").css("position", "fixed");
        else
            $(".navigation-bar").css("position", "relative");
    }

    }

from pushy.

nelsonic avatar nelsonic commented on August 22, 2024

Thanks for reply.

Uncaught ReferenceError: browser is not defined 

Where are you defining browser?
(how are you doing the browser sniffing?)

from pushy.

donnyv avatar donnyv commented on August 22, 2024

I updated my response above.

from pushy.

nelsonic avatar nelsonic commented on August 22, 2024

Ok. thanks @donnyv .
this patches the issue but not a fix. 😕
we are having other issues with IE.
Is your finished site/app public so we can see how you are using pushy? (thanks)

from pushy.

donnyv avatar donnyv commented on August 22, 2024

Still in development mode. I'm only supporting IE 10 and up, so that gets rid of a lot of problems for us.

from pushy.

christophery avatar christophery commented on August 22, 2024

The trick is to have any fixed position (like a fixed header) elements outside of the container div. See the demo.html for examples.

from pushy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.