-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Description
Short description of the problem:
ion-range snap steps are off-screen, with negative positional values.
What behavior are you expecting?
ion-range steps to be placed at correct step-intervals along the range bar.
Steps to reproduce:
- add ion-range inside an ion-item
- put two labels, left and right, inside this ion-range
- set ion-range min to 2499, set max to 5199, set snaps to true and step to 5199
- see the range marker disappear off-screen. Look at range-tick css and see negative position values.
<ion-item>
<ion-range step="5199" max="5199" min="2499" snaps="true" [(ngModel)]="val">
<ion-label range-left>Some text</ion-label>
<ion-label range-right>{{val}}</ion-label>
</ion-range>
</ion-item>
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Which Ionic Version? 1.x or 2.x
Ionic 2 rc0
Plunker that shows an example of your issue
http://plnkr.co/edit/Gh1HokLkh0xyTNWUrEVe?p=preview
Run ionic info
from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.12.0
Xcode version: Xcode 8.0 Build version 8A218a
Metadata
Metadata
Assignees
Labels
No labels