Comments (6)
A little hard to tell from just a screenshot and example code. Would you be able to share a link to your site so I can see it for myself and investigate?
from sticky-anything.
hello yeh course its http://directkitchens.wp.castus1.co.uk/
castus / design
from sticky-anything.
It's strange, cause the plugin DOES add "visibility: hidden" to the original element (as it's supposed to do), yet it doesn't really apply in the browser -- it's still visible?!
Then only after I change some styles in the browser inspector, it actually becomes invisible. Same with the cloned item: additional styles are only applied when I actually change them in the inspector, but not right away.
Wondering if there is some JS sorcery involved....?
from sticky-anything.
Is there a quick fix that can be applied in the css or js?
from sticky-anything.
I'm thinking it's (related to) a bug in Chrome, because in Firefox and IE it seems to work OK. Can you check if that's the case for you as well?
Other than that, the only thing I can suggest is to use the WordPress plugin version (not the native JS version), perhaps that will have better results: https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/
from sticky-anything.
cheers seems to be ok now, could have been a bug but ill keep it in mind thanks again 👍
from sticky-anything.
Related Issues (12)
- Distance from pushup element HOT 2
- Partial functionality on mobile device HOT 1
- Recalculate width on window resize? HOT 1
- Compatibility with Animate.css
- Add option to display hidden element after scroll X pixels
- Events when sticky is active HOT 2
- The Mystery of the Expanding Menu Box HOT 6
- Bootstrap HOT 4
- minscreenwidth in em? HOT 2
- Original menu within a 960px wrapper HOT 2
- JS is not working on cloned menu HOT 3
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 sticky-anything.