Comments (7)
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.
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.
I actually cannot even make it work under the newest Angular-Version:
http://jsfiddle.net/U3pVM/10838/
from angular-rangeslider.
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.
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.
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.
Closing unless there are still problems that someone can provide a fiddle for
from angular-rangeslider.
Related Issues (20)
- [$injector:modulerr] Failed to instantiate module ui-rangeSlider due to: Error: [$injector:nomod] ...If registering a module ensure that you specify the dependencies as the second argument.
- Debounce/timeout before min/max model value changes
- How to show max value at the end slide and min value
- input value selection doesn't work when slider is moved (internet explorer)
- Scaling in multi rangeslider
- Anyway to get realtime slider value while sliding?
- How do you integrate it to an Angular 5 project?
- change the position of the slider by clicking
- direction: 'rtl' not supported HOT 1
- modelMin/modelMax must be a number HOT 1
- Changing orientation on the fly results into broken output HOT 3
- Single value slider HOT 2
- ui rangeslider conflict with ui-sortable HOT 1
- Text not selectable after drag HOT 1
- angular2 support HOT 2
- Step attribute not working as expected HOT 3
- range slider not working HOT 1
- show-values not working . HOT 7
- Not Working - Patch HOT 1
- under ng-if
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-rangeslider.