Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    40
    Vote Rating
    0
    Seboss is on a distinguished road

      0  

    Default [FIXED]Vertical slider and negative values

    [FIXED]Vertical slider and negative values


    When using a negative value for minValue in a vertical slider, the slider resets to minValue when dragged.

    Code:
    Ext.onReady(function() {
        Ext.create('Ext.slider.Single', {
            //renderTo: "target",
            hideLabel: true,
            height: 200,
            vertical: true,
            increment: 1,
            minValue: -10,
            maxValue: 10,
            value: 1,
            listeners: {
                change: function(slider) {
                    console.log(slider.getValue());
                }
            }
        }); 
    });

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,019
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    A fix has been added, thanks for the report.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Vertical Slider
    By Koenix in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 20 Jun 2012, 2:06 AM
  2. Charts - StackedColumnChart negative values
    By catapult in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 19 Aug 2010, 3:15 AM
  3. Vertical Slider with 0 at the top?
    By r4nd7263 in forum Ext GWT: Discussion
    Replies: 3
    Last Post: 9 Oct 2009, 5:57 AM
  4. ScaleProvider that supports negative scale values for BarCharts
    By dardison in forum Ext GWT: User Extensions and Plugins
    Replies: 1
    Last Post: 10 May 2009, 6:53 AM
  5. numberfield: red color on negative values
    By pulporitmo in forum Ext 2.x: Help & Discussion
    Replies: 14
    Last Post: 4 Feb 2008, 4:23 PM

Thread Participants: 1