Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Dec 2009
    Location
    Enschede, The Netherlands
    Posts
    327
    Vote Rating
    13
    flanders will become famous soon enough

      0  

    Default [FIXED][PR3] Disabled css is not set on button (when disabled)

    [FIXED][PR3] Disabled css is not set on button (when disabled)


    When using an button in a toolbar and setting it "disabled: true", the button does not 'light up' when hovered over and is not pressable (as I expect), however it's disabled (grey) state is not displayed (as I didn't expect)

    In Firefox 3.6.14 & Chromium 9.0.597.107 (75357)
    On Ubuntu 10.10

    Code:
    Ext.define('wjv.MainToolbar', {
    	extend: 'Ext.Toolbar',
    	
        initComponent: function() {
            Ext.apply(this, {
            	id: 'main-toolbar',
    			items: [{
    				cls: 'x-btn-text-icon',
    				handler: function() {
    					Ext.getCmp('panel-container').setContained(new wjv.LocationsGrid({}));
    				},
    				icon: 'images/icons/building.png',
    				text: 'Locaties',
    				xtype: 'button'
    			}, '|', {
    				cls: 'x-btn-text-icon',
    				icon: 'images/icons/user.png',
    				text: 'Bewoners',
    				xtype: 'button'
    			}, '|', {
    				cls: 'x-btn-text-icon',
    				icon: 'images/icons/user_red.png',
    				text: 'Gebruikers',
    				xtype: 'button'
    			}, '->', {
    				cls: 'x-btn-text-icon',
    				icon: 'images/icons/help.png',
    				text: 'Help',
    				xtype: 'button'
    			}, '|', { 	
    				cls: 'x-btn-text-icon',
    				disabled: true,
    				icon: 'images/icons/logout.png',
    				text: 'Uitloggen',
    				xtype: 'button'
    			}]
            });
     
            wjv.MainToolbar.superclass.initComponent.apply(this, arguments);
        }
    });
    
        			var menuBar = new wjv.MainToolbar({
    					renderTo: 'main-toolbar'
    				});

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Will take a look, thanks.

  3. #3
    Sencha User
    Join Date
    Dec 2009
    Location
    Enschede, The Netherlands
    Posts
    327
    Vote Rating
    13
    flanders will become famous soon enough

      0  

    Default Two (maybe) usefull addenda

    Two (maybe) usefull addenda


    I just found out:
    - The issue didnt exist yet in PR2
    - The issue doesnt exist in IE8 (8.0.7600.16385)

  4. #4
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    I've fixed this today.

  5. #5
    Sencha User
    Join Date
    Apr 2013
    Posts
    2
    Vote Rating
    0
    naveen_ramawat is on a distinguished road

      0  

    Default


    I am also facing the same issue with Ext 4.2.0, If I use disabled property, The button gets disabled but the css not working so instead of disabled property i used setDisabled method and it is working fine.

Similar Threads

  1. Replies: 1
    Last Post: 28 May 2010, 4:27 PM
  2. Replies: 4
    Last Post: 29 Mar 2010, 4:28 PM
  3. [FIXED] [2.0-RC1] Rendering disabled button on IE
    By mtarantini in forum Ext GWT: Bugs (2.x)
    Replies: 1
    Last Post: 29 Jun 2009, 6:45 AM
  4. [FIXED] [2.0M3]Rendering disabled button on IE
    By xalvaro in forum Ext GWT: Bugs (2.x)
    Replies: 5
    Last Post: 26 Jun 2009, 12:05 AM

Thread Participants: 2