You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
I got some strange behavior with the md-slider component. If the bound value changes, the slider position doesn't get updated immediatly. Bizzarely, if I open the GoogleChrome-Dev-Tools and close them again, the value updates instantly.
Unlike the md-slider, the input field which is bound to the same value, updates properly.
Update: It seems that the above issue occures if the bound value is not a number but a string.
However its the question why a string value works as well after some time or by opening the Dev-Console and closing it afterwards.
The text was updated successfully, but these errors were encountered:
After looking into it another time, I found out that the binding indeed updates correctly.
The correct value gets assigned, but the slider fails to adapt its appearance, as you can see in this screenshot:
The small blue strip is at its correct location (100), but the circle isn't (0). By opening and closing the Chrome-Dev-Tools the circle updates it's position to position 100.
maxee
changed the title
md-slider: Binding not updated properly
md-slider: Appearance not updated properly when bound value changes
Jan 18, 2015
Yes . I have the same problem .
It is working fine in browser. When i was build as a cordova application .
The slider has the same problem in android tablet
Same issue here: the md-track component is displayed correctly, but not the md-thumb.
From my experience, this happens when the slider is in a <md-tab> component, but only when the tab where the slider belongs is not displayed on the first render. Here is a Plunker. If the page is resized, then the md-thumb is repositioned correctly.
I got some strange behavior with the md-slider component. If the bound value changes, the slider position doesn't get updated immediatly. Bizzarely, if I open the GoogleChrome-Dev-Tools and close them again, the value updates instantly.
Unlike the md-slider, the input field which is bound to the same value, updates properly.
Update:
It seems that the above issue occures if the bound value is not a number but a string.However its the question why a string value works as well after some time or by opening the Dev-Console and closing it afterwards.
The text was updated successfully, but these errors were encountered: