Comments (12)
I think it's just a problem with his uglify proccess. I did my own from his original source code using grunt uglify proccess and it's working just fine. In case anyone wants the file, this is it.
Because of the extension limit here, I've renamed the file to a .txt
extension, you just need to reverse it to .min.js
and it'll work.
from ngsmoothscroll.
same problem here!
version 1.7.1 its ok!
from ngsmoothscroll.
Do you mean to say it's not working in 2.0.0 and working in 1.7.1. In that case I may have to revert.
from ngsmoothscroll.
yes, I can confirm that
from ngsmoothscroll.
+1 Same here.
Note: Only tested with the function
scroll-to="my-id"
when refering to an element ID and a simplesmooth-scroll
to automatic scroll to the element when rendering.
No scroll. Sometimes it scrolls just a pixel. Tested with 1.7.4 and had same results.
Only first version working.
from ngsmoothscroll.
I couldn't get any scrolling occurring (nor did I see any errors) with the minified version, but when I switched to the unminified it started working fine.
from ngsmoothscroll.
Naaa, tried the older version still not working. Does it not work with ui views in place and view not being a single html page, just a thought.
from ngsmoothscroll.
@alexkb same here, version 2.0 works only with unminified version. .min.js doesn't work.
from ngsmoothscroll.
This seems to be the same issue as #57 . Something got borked in the minification process. (I notice there's a pull request for a fixed minified version which references #59 , which is also apparently the same issue as #57 and this one).
from ngsmoothscroll.
I don't have minification problems. I'm using gulp for minifications. I think it's more related to the content area that needs to scroll, in my case it seems there's isn't much area to scroll. I think I can close this.
from ngsmoothscroll.
@wizjack The problem is when using the min file provided in the github, if you do yours (like i did) it should work.
from ngsmoothscroll.
@celsomtrindade mine working fine. :)
On second thoughts I feel documentation can be enhanced by adding a demo/example. Closing this. Thank you all.
from ngsmoothscroll.
Related Issues (20)
- Error: [$injector:unpr] Unknown provider: smoothScrollProvider <- smoothScroll <- IndexCtrl HOT 2
- Having a hard time understanding the usage of this directive HOT 2
- Does not work with iOS
- Offset on end element using "scrollTo" directive HOT 1
- Avoiding form submit when used in submit button.
- scrollTo broken in min.js but working in .js HOT 13
- Documentation HOT 1
- smoothScroll as a service works in .js but not in min.js HOT 5
- Scrollspy or active state HOT 1
- unknown provider HOT 1
- issues with bootstrap navbar toggle
- Scrolling cannot initiate when scroll position is at extreme bottom inside a container.
- Breaks scrolling with -webkit-overflow-scrolling: touch; on iOS
- Stop scroll bubbling
- scroll getting stuck at the bottom of the page
- How to add active class??
- scroll-to directive not working on touchscreen HOT 2
- Minified version didn't work HOT 2
- smoothScroll service not working for me
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 ngsmoothscroll.