Comments (5)
Please check https://github.com/marcosgallardo/jquery.sticky ... We are adding more documentation soon.
from fixed-sticky.
@dendril This doesn’t seem to address the question in the issue.
from fixed-sticky.
Not sure what you mean here, sticky elements are constrained to their parent containers by default. The plugin operates with that in mind.
from fixed-sticky.
Sorry, let me try and be a little more specific. If I have a scrollable div in the middle of my page. If a child contained in that element could be stuck to that specific element when scrolled. It appears the current implementation only works when my element and it's parent are scrolled to the top/bottom of the window.
If anyone here uses angular I just made a directive for this script
https://github.com/randallmeeker/psFixedsticky
from fixed-sticky.
See also #13.
Unfortunately, I don’t think we’ll be supporting this use case. We tend to avoid element-overflow whenever possible for the widest support on touch screens (and easiest true-to-native scrolling).
Sorry! Feel free to fork and I’d be happy to include a link in the README.
from fixed-sticky.
Related Issues (20)
- Does not work correctly anymore in Chrome 52 HOT 4
- not working at all?
- Any progress on the vanilla JS version? HOT 1
- Chrome bug HOT 4
- need a way to force position recalculation
- display: flex on parent element causes flicker HOT 3
- Not updating position on DOM changes HOT 2
- not working in react component HOT 1
- Polyfill Chrome update bug
- Remove bower
- .fixedsticky-on element activates way above parent element HOT 1
- Not working with jquery.mobile on mobile device HOT 1
- Browserify support? HOT 1
- Scroll performance suffers a bit HOT 1
- No banner in fixedsticky.js
- Tests fail in browsers that support position: sticky
- Polyfill doesn’t get well along when used with floats
- no jquery dependency? HOT 2
- code is a mess - depends on jquery - does not update properly on resize HOT 7
- Use requestAnimationFrame HOT 1
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 fixed-sticky.