GithubHelp home page GithubHelp logo

Comments (8)

rzajac avatar rzajac commented on June 13, 2024

My first thought is that you may add your event in https://github.com/rzajac/angularjs-slider/blob/master/rzslider.js#L218.

Maybe you could create jsFiddle or Plunker then I could fix it in the next release.

from angularjs-slider.

vikasgulati avatar vikasgulati commented on June 13, 2024

Yeah I have tried what you mentioned and it worked fine for me. Would add a pull request with what I did in a bit. Check the following plunker to see th bug!

http://embed.plnkr.co/qPV37a/preview

from angularjs-slider.

vikasgulati avatar vikasgulati commented on June 13, 2024

@rzajac Can you look at this when you have a chance?

from angularjs-slider.

vikasgulati avatar vikasgulati commented on June 13, 2024

There is one more issue with the slider within a tab. Two values can be seen when the slider value is set to minimum unlike when set to maximum!

from angularjs-slider.

vikasgulati avatar vikasgulati commented on June 13, 2024

@rzajac - Can you merge the event binding pull request once?

from angularjs-slider.

rzajac avatar rzajac commented on June 13, 2024

I've added reCalcViewDimensions event on master bramch.

from angularjs-slider.

matt-way avatar matt-way commented on June 13, 2024

You should really wrap the event internals with a $timeout. If I combine the broadcast with things like ng-show, the updates happen before the correct size calculations can take place.

from angularjs-slider.

paxal78 avatar paxal78 commented on June 13, 2024

Solution

$timeout(function() {
      $scope.renderSlider= true;
    });

... rzslider ng-if="renderSlider" ....

from angularjs-slider.

Related Issues (20)

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.