Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating slider values #558

Closed
imran7404 opened this issue Aug 23, 2017 · 4 comments
Closed

Updating slider values #558

imran7404 opened this issue Aug 23, 2017 · 4 comments

Comments

@imran7404
Copy link

imran7404 commented Aug 23, 2017

I want to update my slider ceiling and value. When i send values to the slider option, a new slider is created with the first one. It happens when i open the debug mode and change the range. Then i send new ceiling and value values.

 $scope.compressorSlider = {
                value: recommendedCompressorWashPeriod, // want to change
                options: {
                    floor: 0,
                    ceil: recommendedCompressorWashPeriod, // want to change
                    step: 200,
                    minLimit: 200,
                    showTicks: true,
                    onChange: onCompressorWash
                }

slider

        };
@ValentinH
Copy link
Member

I'm not sure to understand your issue. You are trying to change the ceil but it doesn't change? Or it changes but the layout is then broken?

@imran7404
Copy link
Author

I think, there is a problem with mouseup event. When i go to debug mode and drag the slider, mouse hang with the slider. while the mouse is hanged with slider, i change my ceil and step values through a function then the slider just crash or create another slider or goes up from ceiling as you can see in the attach file with value 4200-0.

@imran7404
Copy link
Author

i am waiting your reply?

@ValentinH
Copy link
Member

I think this is the same as #476 but there is no fix at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants