Results 1 to 3 of 3

Thread: [6.5.x Modern] Readonly sliderfield still can drag the thumb

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default [6.5.x Modern] Readonly sliderfield still can drag the thumb

    Ext version tested:
    Ext 6.5.0.775 Modern, Ext 6.5.1.345 Modern, Ext 6.5.2.463 Modern

    Browser versions tested against:
    Windows7 Chrome 58.0.3029.110

    Fiddler:
    https://fiddle.sencha.com/#view/editor&fiddle/294t


    Set a sliderfield to readonly has no effect

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Slider need an overhaul so that it can lay itself out automatically on resize. It was on the road map.

  3. #3

    Default I have a workaround

    Code:
    Ext.define('MX.overrides.slider.Thumb', {
        override: 'Ext.slider.Thumb',
    
    
        onBeforeDragStart: function(source, info, event) {
            if (this.isDisabled()) {
                return false;
            }
            var xy = info.proxy.current;
            return this.getSlider().onThumbBeforeDragStart(this, event, xy.x, xy.y); //add 'return'
        }
    });

Similar Threads

  1. Replies: 6
    Last Post: 4 May 2016, 9:43 PM
  2. sliderfield drag event
    By celwell in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 7 Sep 2014, 4:52 AM
  3. [FIXED] togglefield and sliderfield readOnly inoperative
    By tareed in forum Sencha Touch 2.x: Bugs
    Replies: 2
    Last Post: 24 Apr 2012, 2:53 PM
  4. use an image to represent a sliderfield's thumb in sencha2.
    By vimalsank in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 5 Apr 2012, 11:48 PM
  5. PR3: How can I access/set the class of the sliderfield's thumb?
    By minorbug in forum Sencha Touch 2.x: Discussion
    Replies: 1
    Last Post: 11 Dec 2011, 11:51 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •