Comments (7)
We are encountering this issue. @donnyv did you manage to fix it? (thanks)
from pushy.
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.
Thanks for reply.
Uncaught ReferenceError: browser is not defined
Where are you defining browser?
(how are you doing the browser sniffing?)
from pushy.
I updated my response above.
from pushy.
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.
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.
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)
- Pushy in NPM packages. HOT 2
- Menu don't work with vue js 2 HOT 1
- iOS Mobile Container Scrolling Bug
- Third level submenu HOT 1
- Menu transitions on page load HOT 2
- Can width be set to 100% HOT 2
- Can I have a left menu and right menu? HOT 1
- Rearrange menu items for desktop HOT 3
- Fit Pushy for container width. HOT 1
- How can we stop the container scroll going to top, while we are opening Pushy-Menu HOT 1
- sidebar incompatible with jquery 3.1.1 HOT 1
- BS4 Dropdown Class for On-Canvas Multi-Line Menu HOT 1
- Change menu-btn class HOT 6
- Error don't appear the pushy menu HOT 1
- Desktop: Close '.pushy ul ul ' when clicking away from element
- Menu shows when loading page HOT 1
- Mobile Site Menu is not loading properly HOT 2
- Save a network request by encoding the arrow svg in the css instead of externally linking it HOT 1
- How to focus on a li tag within a submenu? HOT 3
- Multiple Pushy in one page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pushy.