Giter VIP home page Giter VIP logo

Comments (7)

gruberb avatar gruberb commented on June 3, 2024

I've set model-max and also pin-handle="min", but it snaps every now and then to the maximum. As well as when I move the slider for the first time. Any solution or cause yet?

from angular-rangeslider.

danielcrisp avatar danielcrisp commented on June 3, 2024

By 100 do you mean 100%? i.e. fully to the right?

And are you populating the model-max with an XHR response or something? Hence the delay...

Any chance of a fiddle to demonstrate exactly what is happening?

from angular-rangeslider.

gruberb avatar gruberb commented on June 3, 2024

I actually cannot even make it work under the newest Angular-Version:
http://jsfiddle.net/U3pVM/10838/

from angular-rangeslider.

danielcrisp avatar danielcrisp commented on June 3, 2024

That's because you are binding the min and modelMin values to the same variable... which essentially means they are locked together.

min is a setting, its the minimum allowed value. modelMin is the value the user chooses by sliding the handle. It cannot be less than min

Take a look at this updated fiddle:

http://jsfiddle.net/bupvp7fw/2/

from angular-rangeslider.

mathurs avatar mathurs commented on June 3, 2024

Sorry, yes I meant to the right most value. It so happens its value was 100.

So its like model-max=A.percentSample, where A is a JS object initialized
to {}. Although there is no delay because of XHR, the modeled key just does
not exist in the object to begin with. So its undefined to begin with and
as soon as I interact with the slider it moves to the maximum value.

Will try to provide a jsfiddle asap.

Thanks for your good work and your reply,
saurabh

On Thu, Nov 27, 2014 at 8:56 PM, danielcrisp [email protected]
wrote:

By 100 do you mean 100%? i.e. fully to the right?

And are you populating the model-max with an XHR response or something?
Hence the delay...

Any chance of a fiddle to demonstrate exactly what is happening?


Reply to this email directly or view it on GitHub
#37 (comment)
.

from angular-rangeslider.

gruberb avatar gruberb commented on June 3, 2024

Thanks @danielcrisp for the Fiddle. I wasn't able to reproduce... I'll try the following days. I am using foundation and other frameworks in my app, so maybe there is a conflict somewhere.

from angular-rangeslider.

danielcrisp avatar danielcrisp commented on June 3, 2024

Closing unless there are still problems that someone can provide a fiddle for

from angular-rangeslider.

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.