Coder Social home page Coder Social logo

Comments (8)

arnaudbreton avatar arnaudbreton commented on July 22, 2024

The "smooth-scroll" directive is written in pure JS so it should normally have no external dependencies in contrary of the "jquery" version.

Can you look into the Chrome Dev Tools where it is bugging? Or better try with the non-minified version?
You can get a copy by running grunt coffee:dist. The ouput will be in the ".tmp" folder.

from angular-smoothscroll.

creatifyme avatar creatifyme commented on July 22, 2024

Never used coffee so it took some doing but got myself the non-minified version. I'm getting the same error as before but here is where it seems to be buggin out.

Error is line 38 of angular-smooth-scroll.js - has no method 'find':
elm = angular.element.find('#' + eID)[0];

from angular-smoothscroll.

creatifyme avatar creatifyme commented on July 22, 2024

I replaced that with
elm = document.getElementById(eID);

And scrolling now works.

from angular-smoothscroll.

arnaudbreton avatar arnaudbreton commented on July 22, 2024

Oh ok it's here! Sounds like AngularJS jQlite is not playing well with jQMobi. You should open an issue there.

I will post a fix with your solution. Thanks!

from angular-smoothscroll.

creatifyme avatar creatifyme commented on July 22, 2024

No problem.

from angular-smoothscroll.

arnaudbreton avatar arnaudbreton commented on July 22, 2024

Somebody has post a pull request improving the module. It should work without issues now.

Let us know if it's not the case.

from angular-smoothscroll.

creatifyme avatar creatifyme commented on July 22, 2024

Works great. Thanks.

from angular-smoothscroll.

arnaudbreton avatar arnaudbreton commented on July 22, 2024

Great! Thanks for following up!

from angular-smoothscroll.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.