Comments (5)
Hey, thanks for the effort of figuring this out and posting your findings.
You're right about the bower install instructions. It appears I had forgotten to update this. I'll take at look at this tonight and update them.
The hl.sticky
module name should be correct. I checked the source from 0.1.0. Are you sure you're using that version?
And about the name, I struggled with it a lot. Every normal name was taken and Angular Sticky is what it is. So although the name doesn't match up in Bower, I just went with it.
The plugin is still under heavy development because it's quite new, so I'm still trying to work out the best approach on how to handle certain things. I think in a month or 2 I'll have a 1.0.0 version ready. I don't think the API will change very much anymore though.
from angular-sticky.
Thanks for the quick reply, I saw you already fixed the bower line. I just retested hl.sticky vs hl-sticky and using hl.sticky throws the following error (testing in chrome) :
angular.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module frodo due to: Error: [$injector:modulerr] Failed to instantiate module hl.sticky due to: Error: [$injector:nomod] Module 'hl.sticky' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
Switching to hl-sticky removes the error. Looking in angular-sticky.js the module is defined as 'hl-sticky'. Bower claims I'm using v 1.0.1, which doesn't make much sense if you're working on 0.1.0. I see this version on CLI when installing and looking at the bower.json bower_components/angular-sticky/. Not sure what's going on, I'm starting to suspect some bower weirdness.
I'm going to keep playing with it today and see if I can actually get it running within my app, will give you feedback when I do.
from angular-sticky.
Cloned the repo directly, and it's very different from what is on bower. Locally I now see hl.sticky
and the version is listed as 0.1.0.
from angular-sticky.
I did fix fix the bower line, I'll update the demo page soon as well. I'm currently implementing a few features that aren't quite ready yet.
And I must admit I had been playing with version numbers a few weeks back, but I find it hard to imagine you've only had this problem just now... Though, that's the only thing I could think of that would cause your problem.
from angular-sticky.
I just noticed a release called 1.0.1
which was an old one. I've deleted it, because I think that release was what caused your problem. I went back to 0.*.*
releases after that release as I don't feel like the project is ready for production just yet.
P.s.: I just made another (pre)release and the demo is updated in the process. The demo page has the correct installation instructions too.
from angular-sticky.
Related Issues (20)
- bodyEl.scrollTop is not a function error HOT 14
- layout breaks when using ng-show HOT 4
- prevent stacking of non-overlapping sticky elements? HOT 3
- elementWidth() HOT 3
- requires jquery even though you mention its a pure javascript implementation. HOT 3
- bug with width HOT 1
- Replaces the element with a div HOT 2
- Enable redraw method for directive HOT 1
- Immediately show sticky-element (bottom) HOT 7
- Not sticky when at top of page (window.scrollY = 0) HOT 2
- Angular 1.5.8
- Placeholder causes the window to scroll-down when using ui-bootstrap's popover HOT 3
- Page Jumps on click HOT 1
- Placeholder height doesn't change after dynamic height change of sticky element HOT 3
- We cannot update bower HOT 2
- Sticky element position don't rerendred on resize HOT 1
- z-index is always relative to 1039
- Want it Sticky only after scrolling past other bottom elements
- All the stack and collection demos are broken HOT 1
- Need help? 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 angular-sticky.