Comments (7)
This issue must be a joke, @soenkekluth how can you open an issue in a repo that is not yours without having contributed to it at all and saying that the code is a mess?
The first thing you point in the issue is better use mine, latter you wrote 3 more comments just talking about how utraperformant! its your repo and pointing to the React version of it, which is not related at all with this.
I mean im happy that you have created your own repository and you think it's better than this one, but you should learn how to respect code of other people and don't use it to SPAM them in other issues. This stuff doesn't help anyone, not the maintainers, not the users and not you.
from fixed-sticky.
as you can see - i added support for polyfilled (fixed sticky) inside an overflow:auto container.
https://rawgit.com/soenkekluth/sticky-state/master/examples/index.html
so the native feature becomes statefull and the polyfill supports different viewports. browser support : >= IE9 no dependencies! jank free with animationFrame
from fixed-sticky.
and finally: polyfill behaves exactly like the native feature...
https://rawgit.com/soenkekluth/sticky-state/master/examples/index.html
utraperformant!
from fixed-sticky.
there is also a react component now
https://github.com/soenkekluth/react-sticky-state
from fixed-sticky.
Looks great! I’d love some of these ideas in the fixed-sticky plugin. I made an issue for one above.
I don’t think we’ll support the overflow
feature but can you be more specific about some of the other complaints re: performance and resize
problems? We do have resize handlers in our plugin.
from fixed-sticky.
Oh, and if you’re using our demo code you should at probably include some kind of attribution, yeah?
from fixed-sticky.
@zachleat of course i will add attribution to the demo.
when i was using fixed-sticky not long ago in a project the dimensions of the fixedsticky-dummy were not recalculated when the window resized for example. in your update method you recalculate several values like dimensions of the sticky element and the parent offsets and so on. in my module i cache these values and only recalculate them if really needed. then your not using animationFrame... and well... jquery is not really needed
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
- 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.