Skip to content

Selection bar not updating after rzSliderForceRender (fixed) #50

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

Merged
merged 1 commit into from
May 24, 2015
Merged

Selection bar not updating after rzSliderForceRender (fixed) #50

merged 1 commit into from
May 24, 2015

Conversation

psalaberria002
Copy link
Contributor

After some debugging I found the problem. rzSliderForceRender was calling thrHigh() even when not using range slider.

I guess this is a better fix than the previous one (#48)

@rzajac
Copy link
Member

rzajac commented May 24, 2015

Will it also work when rz-slider-always-show-bar is set ?

Calling thrHigh() calls updateSelectionBar() which updates selection bar.

@psalaberria002
Copy link
Contributor Author

I am using it with rz-slider-always-show-bar="true", and it works as expected. Since thrLow() calls updateSelectionBar() that's enough.

rzajac added a commit that referenced this pull request May 24, 2015
Selection bar not updating after rzSliderForceRender (fixed)
@rzajac rzajac merged commit 63542aa into angular-slider:master May 24, 2015
@psalaberria002 psalaberria002 deleted the selection-bar branch May 25, 2015 01:30
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

Successfully merging this pull request may close these issues.

2 participants