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
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,24 @@ Slider directive implementation for AngularJS, without any dependencies: [http:/
32
32
## Reporting issues
33
33
Make sure the report is accompanied by a reproducible demo. The ideal demo is created by forking [our standard jsFiddle](http://jsfiddle.net/cwhgLcjv/), adding your own code and stripping it down to an absolute minimum needed to demonstrate the bug.
34
34
35
+
## Common issues
36
+
### My slider is not rendered correctly on load
37
+
If the slider's parent element is not visible during slider initialization, the slider can't know when its parent becomes visible.
38
+
For instance, when displaying a slider inside an element which visibility is toggled using ng-show, you need to send an event to force it to redraw when you set your ng-show to true.
39
+
40
+
Here's an example of `refreshSlider` method that you should call whenever the slider becomes visible.
0 commit comments